'Add all related elements' option? [message #1251061] |
Wed, 19 February 2014 17:03  |
Eclipse User |
|
|
|
Is it possible to, given an element on the diagram, add all related elements to it onto the diagram? A similar feature exists in Sparx EA, and is very handy for populating a large diagram quickly.
|
|
|
|
Re: 'Add all related elements' option? [message #1255272 is a reply to message #1252105] |
Mon, 24 February 2014 04:14   |
Eclipse User |
|
|
|
Hi,
Quote:Another reason I ask, besides the efficiency, is that it seems the way you add elements onto the class diagram matters: if I drag and drop a whole lot of associations at once, classes for them will be duplicated:
Yes, this is a known issue. The workaround is: drop all nodes, then drop all links.
When you right click on an element (or a set of elements), you can use Navigate > Restore related elements. It will restore the incoming/outcoming links to/from the selected element(s). However, I think it will not restore the related nodes, i.e. it will restore the Association link only if the target Classifier is already displayed on the diagram.
Regards,
Camille
|
|
|
|
Re: 'Add all related elements' option? [message #1255314 is a reply to message #1255290] |
Mon, 24 February 2014 05:07  |
Eclipse User |
|
|
|
Yes, exactly.
The second option (restore elements) should also restore the links which are not semantic UML elements (e.g. Comment link, Constraint link...), which may not be displayed by the first option (drop links).
Regards,
Camille
|
|
|
Powered by
FUDForum. Page generated in 0.16389 seconds