Community
Participate
Working Groups
Papyrus Mars In the Model Explorer, the "New Relationship -> Association" action does not work for use cases and actors. Steps to reproduce: 1. Create a Use Case diagram. 2. Create a use case and an actor in the diagram. 3. In the Model Explorer, select the use case. 4. Invoke the "New Relationship -> Association" action in the context menu. 5. In the ensuing dialog, choose the actor as the target element. ==> Observe that the selection is not accepted: the OK button is disabled.
The problem still exists with Papyrus installed on Eclipse version 2019-12 (4.14.0). To be more complete, selecting a Use Case or an Actor in the Model Explorer, then New Relationship, then Association does not let you choose anything in the ensuing “Target Element Selection” dialog: no possible target appears (not even the root model element, which should appear in the Tree view of that dialog), as if the model was empty. Thus, the action can’t be completed. Selecting a Class or an Interaction in the Model Explorer, then New Relationship, then Association works as expected: the Target Element Selection dialog shows other elements as possible choices and accepts (for example) that I choose a Use Case as a target. The corresponding Association then appears in the Model Explorer as a child of the selected Class or Interaction.