Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328000 - [Element Edit Service] Using edit service for delete in Composite Structure Diagram
Summary: [Element Edit Service] Using edit service for delete in Composite Structure D...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yann Tanguy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 324966
  Show dependency tree
 
Reported: 2010-10-17 17:10 EDT by Yann Tanguy CLA
Modified: 2010-11-29 05:40 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).