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

Bug 328000

Summary: [Element Edit Service] Using edit service for delete in Composite Structure Diagram
Product: [Modeling] Papyrus Reporter: Yann Tanguy <yann.tanguy>
Component: CoreAssignee: Yann Tanguy <yann.tanguy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 324966    

Description Yann Tanguy CLA 2010-10-17 17:10:43 EDT
The delete command used by the contextual menu on GraphicalEditParts in Composite Structure Diagram should use the delete command provided by the Edit Service so that the deletion of an element destroy not only the current view, but any view referencing the deleted element.
Comment 1 Yann Tanguy CLA 2010-10-17 17:15:31 EDT
Done in r2957.
Comment 2 Yann Tanguy CLA 2010-10-21 16:15:51 EDT
Done.
Comment 3 Yann Tanguy CLA 2010-10-26 12:22:35 EDT
In r3021: Code re-factoring.
Comment 4 Yann Tanguy CLA 2010-11-21 11:30:25 EST
In r3276: 
- Fix for a loop issue during Generalization deletion (when a Generalization cycle exists)

Known issue:
- When 2 Generalization are providing inheritance way to the same Classifier, and are deleted at the same time,
shown inherited Port or Properties are not masked (each Generalization deletion is not aware of the other and find the other Generalization as an other inheritance way).
Comment 5 Yann Tanguy CLA 2010-11-21 16:09:07 EST
In r3281:
- NPE fix causing the delete command being disabled
Comment 6 Yann Tanguy CLA 2010-11-29 05:40:13 EST
In r3377:
- NPE could occur in case the model is not well formed (Generalization with no general Classifier).