eclipsesource / papyrus-umllight

Eclipse Public License 2.0
4 stars 2 forks source link

Fix #14 New child menu for interactions #43

Closed cdamus closed 5 years ago

cdamus commented 5 years ago

Define an edit-helper advice to restrict the creation of elements within an Interaction to only the Comment, excluding things that a Class or Behavior can own for which we provide New Child menu items that otherwise would show up because an Interaction is a Behavior (which is a Class).

planger commented 5 years ago

@cdamus Just to make sure we don't miss anything... merging this will close #14 -- shouldn't we also hide the New Relationship menu then? Thanks!

planger commented 5 years ago

@cdamus Just to make sure we don't miss anything... merging this will close #14 -- shouldn't we also hide the New Relationship menu then? Thanks!

Hm, the more I think about it... it doesn't really hurt either. So we can keep it and remove it later, if the stakeholders really decide to remove it.

cdamus commented 5 years ago

@cdamus Just to make sure we don't miss anything... merging this will close #14 -- shouldn't we also hide the New Relationship menu then? Thanks!

Hmm, yeah. We get Abstraction and Dependency on Interaction and anything within it in the New Relationship menu. That's because these are applicable to any NamedElement, but it doesn't really feel useful in the UML Light dialect.