Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364688 - [Sequence Diagram] - Lifeline alignment
Summary: [Sequence Diagram] - Lifeline alignment
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Chokri Mraidha CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-24 04:02 EST by Chokri Mraidha CLA
Modified: 2012-07-04 09:19 EDT (History)
2 users (show)

See Also:


Attachments
Improve the Lifeline layout (21.66 KB, patch)
2012-03-01 21:32 EST, Yves YANG CLA
sebastien.gerard: iplog+
Details | Diff
Design doc (118.07 KB, application/pdf)
2012-03-01 21:33 EST, Yves YANG CLA
sebastien.gerard: iplog+
Details
Disable "Distribution Node/Link vertical" (3.62 KB, patch)
2012-04-04 12:50 EDT, Yves YANG CLA
no flags Details | Diff
Disable all vertical moving requests (3.62 KB, application/octet-stream)
2012-04-05 08:10 EDT, Yves YANG CLA
sebastien.gerard: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chokri Mraidha CLA 2011-11-24 04:02:45 EST
All lifelines (except lifelines that are result of a create message) should be aligned vertically and must remain aligned.
Comment 1 Yves YANG CLA 2012-03-01 21:32:27 EST
Created attachment 211930 [details]
Improve the Lifeline layout

Select the project org.eclipse.papyrus.uml.diagram.sequence to apply this patch.
Comment 2 Yves YANG CLA 2012-03-01 21:33:22 EST
Created attachment 211931 [details]
Design doc
Comment 3 Camille Letavernier CLA 2012-03-02 03:31:21 EST
Patch committed in r7324
Comment 4 Camille Letavernier CLA 2012-03-02 03:40:13 EST
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)
Comment 5 Yves YANG CLA 2012-04-04 12:50:30 EDT
Created attachment 213592 [details]
Disable "Distribution Node/Link vertical"
Comment 6 Yves YANG CLA 2012-04-04 12:51:54 EDT
This patch modifies two projects:
   org.eclipse.papyrus.uml.diagram.menu
   org.eclipse.papyrus.uml.diagram.sequence
Comment 7 Yves YANG CLA 2012-04-05 08:10:47 EDT
Created attachment 213625 [details]
Disable all vertical moving requests
Comment 8 Chokri Mraidha CLA 2012-04-23 05:19:59 EDT
The proposed patch fixes the bug.
Comment 9 Chokri Mraidha CLA 2012-04-23 05:20:41 EDT
Fix commited on the trunk r.7958
Comment 10 Chokri Mraidha CLA 2012-04-23 05:30:14 EDT
Lifelines are not resizable horizontally anymore. This causes problems for large labels and will cause problems for part decompositions.
Comment 11 Chokri Mraidha CLA 2012-04-23 05:43:03 EDT
It seems that the bug does not occur for new models.
Comment 12 David Akehurst CLA 2012-07-03 04:03:33 EDT
Where in the UML standard does it say that lifelines must be aligned?

This patch may be the root cause of the bug 379661.
Comment 13 Chokri Mraidha CLA 2012-07-04 09:19:30 EDT
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.