| Summary: | [All Diagrams] DnD of a class or property on lifeline for "represents" | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Raphael Faudou <raphael.faudou> |
| Component: | Diagram | Assignee: | Camille Letavernier <cletavernier> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | klaas.gadeyne, raphael.faudou |
| Version: | 1.0.0 | ||
| Target Milestone: | M4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
This should be available on all diagrams, as this is purely semantic. Especially, this should also work in a Timing Diagram. 95932905599124d94e54f5ebb01c8794b7e2eed8, pushed to master: Added a new Drop Strategy, which handles the two cases: - Drop a property on the lifeline - Drop a classifier on the lifeline: Creates an anonymous property in the Interaction. In both cases, the property is associated to Lifeline#represents. This works for any diagram on which a Lifeline can be drawn (Class diagram, Timing, Sequence, ...) |
In most commercial tools, the "represents" property of a lifeline can be filled by dragging and dropping a model element coming from the model explorer view. In case the user drops a property, it should be assigned to the "represents" property. In case the user drops a classifier, it would be nice that the tool creates a anonymous ("") property of selected type and assigns this property to the "represents".