Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326787 - [Sequence Diagram] Maintain order of an Interaction's InteractionFragments
Summary: [Sequence Diagram] Maintain order of an Interaction's InteractionFragments
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Vincent Hémery CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-01 10:34 EDT by Vincent Hémery CLA
Modified: 2010-10-29 10:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Hémery CLA 2010-10-01 10:34:39 EDT
The "fragment" property of Interaction is ordered and should give a valid trace.

It is important to maintain this information correct in the model, since only it gives the order of occurrences on a same lifeline. Hence, the drag and drop of an element on a Lifeline at a correct Y location (relatively to others) can be performed only if this order is correct (or if there are lots of useless GeneralOrdering elements).

In case there is no valid trace :
- the "fragment" property should contain an invalid trace which stays valid for each Lifeline separately.
- an error shall be raised.
This means we choose to violate invalid constraints given by GeneralOrdering or Message, rather than loosing the order of a Lifeline's covering fragments.
Comment 1 Vincent Hémery CLA 2010-10-11 04:10:31 EDT
A mechanism has been implemented to automatically maintain a valid trace.

Though, during creation of an element on a lifeline, since the order relies on the graphical order, the mechanism should be called again after graphicall creation which is currently not the case.
Comment 2 Vincent Hémery CLA 2010-10-29 10:26:22 EDT
Mechanism is now called again each time a graphical modification occurs.