Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: alexODfr on August 01, 2006, 07:23:51 am

Title: add attribute in class diagram
Post by: alexODfr on August 01, 2006, 07:23:51 am

  Hi

In a class diagram, it would be nice to have the ability to add attributes or methods directly in the diagram - without having to open the popups.

Regards,
Alexandre
Title: Re: add attribute in class diagram
Post by: Jan ´Bary´ Glas on August 01, 2006, 07:37:28 am
Try F9 for atributes and F10 for operations. Is that what you're lookoing for?
Title: Re: add attribute in class diagram
Post by: alexODfr on August 01, 2006, 08:31:13 am

Thanks for the answer,
but what is asked by our customer is to not open the popup,
simply write in the diagram (as it is allowed to modify an attribute directly in the diagram, double-clicking on it - same thing for creation).
Title: Re: add attribute in class diagram
Post by: Jan ´Bary´ Glas on August 01, 2006, 08:42:27 am
You may try Ctrl+Shift+Ins to add next attribute/operation. But the first one... sorry.
Title: Re: add attribute in class diagram
Post by: Eve on August 01, 2006, 02:57:19 pm
Also Ctrl+Shift+F9 for attributes and Ctrl+Shift+F10 for operations.  This has the advantage of not needing an attribute or operation selected to work.
Title: Re: add attribute in class diagram
Post by: sargasso on August 01, 2006, 06:30:12 pm
Also note:

If you have set the visibility for, say, attributes to only show public scope items, then Shift+Ctl+F9 wont work.


bruce
Title: Re: add attribute in class diagram
Post by: bmioch on August 01, 2006, 10:36:04 pm
Also, if you look at the Main Menu under Element | Inline Features, you can tear that menu off to use as a toolbar.