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

Bug 328003

Summary: [Composite Structure Diagram] The model should be kept consistent graphically when a Generalization is removed or re-oriented
Product: [Modeling] Papyrus Reporter: Yann Tanguy <yann.tanguy>
Component: CoreAssignee: Yann Tanguy <yann.tanguy>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: vincent.lorenzo
Version: unspecified   
Target Milestone: 0.7.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 281320    

Description Yann Tanguy CLA 2010-10-17 17:26:14 EDT
The Composite Structure Diagram makes possible to show inherited Part or Port on a Composite.

When a Generalization involved in such elements is deleted, any inherited Port or Property views should be removed to avoid graphical inconsistencies between the diagram (graphical representation) and the model.
Comment 1 Yann Tanguy CLA 2010-10-17 17:30:16 EDT
In r2958:
A diagram specific advice has been added to Generalization ElementType that destroy inconsistent views when a generalization is deleted (or its end re-oriented on another Classifier).

Still to do:
It may also be necessary to remove any other view of the Generalization itself when the generalization is re-oriented.
May be a common advice for several kind of relationships.
Comment 2 Yann Tanguy CLA 2010-10-26 13:02:02 EDT
Done.