| Summary: | [Sequence Diagram] - Lifeline alignment | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Chokri Mraidha <Chokri.Mraidha> | ||||||||||
| Component: | Core | Assignee: | Chokri Mraidha <Chokri.Mraidha> | ||||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | dave, yves.yang | ||||||||||
| Version: | 0.9.0 | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows 7 | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Chokri Mraidha
Created attachment 211930 [details]
Improve the Lifeline layout
Select the project org.eclipse.papyrus.uml.diagram.sequence to apply this patch.
Created attachment 211931 [details]
Design doc
Patch committed in r7324 This patch brings a few problems:
- Old diagrams' lifelines are not (and cannot be) aligned with new ones
- Distribute actions ("Distribute node/links vertically", from uml.diagram.menu) can change the lifeline alignment (As well as other layout options from the toolbar)
Created attachment 213592 [details]
Disable "Distribution Node/Link vertical"
This patch modifies two projects: org.eclipse.papyrus.uml.diagram.menu org.eclipse.papyrus.uml.diagram.sequence Created attachment 213625 [details]
Disable all vertical moving requests
The proposed patch fixes the bug. Fix commited on the trunk r.7958 Lifelines are not resizable horizontally anymore. This causes problems for large labels and will cause problems for part decompositions. It seems that the bug does not occur for new models. Where in the UML standard does it say that lifelines must be aligned? This patch may be the root cause of the bug 379661. The UML standardizes the abstract syntax, but diagrams are not standardized (there is no metamodel specifying how each diagram should be represented). Hence, the standard does'nt say anything on lifelines alignement or not. This alignment is then compatible with the UML standard. We have made this choice to avoid a lot of other troubles in link with the capability to put lifelines everywhere. However, this restriction takes into account lifelines that are result of create messages. |