Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326787

Summary: [Sequence Diagram] Maintain order of an Interaction's InteractionFragments
Product: [Modeling] Papyrus Reporter: Vincent Hémery <vincent.hemery>
Component: CoreAssignee: Vincent Hémery <vincent.hemery>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3    
Version: 0.7.0   
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Whiteboard:

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.