Community
Participate
Working Groups
The delete command used by the contextual menu on GraphicalEditParts in Class 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. Patrick, can you plan to spend some time on this ? 1. make some not trivial tests on Class diagram with the delete command from the model explorer 2. for element the are normally deleted, refer their edit part with a "EditPartUsingDeleteService" node and re-generate the diagram 3. Let me know if some element deletion are not correctly handled by the edit service in Class diagram
the step 1 and 2 have been done. before close this task, I prefer let some days to continue the test. Done in the revision 3035
In r3122: - Diagram specific advice added in order to clean inconsistent views during Generalization re-orient action (remove no more inherited member).
In r3280: - Bug fix for Generalization deletion (loop if Generalization cycle exists) - Deprecated code removed
In r3282: - Generalization item semantic edit policy corrected
(In reply to comment #3) > In r3280: > - Bug fix for Generalization deletion (loop if Generalization cycle exists) > - Deprecated code removed In r3375: - NPE could occur if the model is not well formed.
This task is fixed