eclipsesource / papyrus-umllight

Eclipse Public License 2.0
4 stars 2 forks source link

Create simplified new child/relationship creation menu for UML Package diagram #13

Closed planger closed 5 years ago

planger commented 5 years ago

The new child / relationship creation menu should only contain the following UML concepts (equal to #7):

cdamus commented 5 years ago

@planger I think there are some concepts missing from the list in this requirement:

Also, I think the Link item doesn't make sense: that's an instance-specification concept, which we've excluded from UML Light and wouldn't be in a package diagram, anyways.

Finally, I wonder since we have Package Import on the list, whether we shouldn't also have Element Import? It seems more basic than the Package Import. Although, the only element that could reasonably be imported in a package diagram is another package. But then again, the effect of an element import is quite different to a package import when importing a package ...

cdamus commented 5 years ago

Also, it's important to note that a bunch of things that are presented in other diagrams (classes, use cases, actors, behaviors) need to be in the New Child menu of a package, even though they cannot be visualized in a package diagram.

cdamus commented 5 years ago

In fact, I think it makes sense anyways to define just a single creation-menu model for each of the New Child and New Relationship menus covering all diagram types, which is what I have in progress now.

cdamus commented 5 years ago

Fixed with pull #22.