Community
Participate
Working Groups
The menu Edit displayed in the popup of the Diagram has not yet been rewritten according to Eclipse standard. Currently this menu is created and filled by GMF for Undo, Redo, Cut, Copy, Paste (that's why the shorcuts (CTRL + X, ...) are not displayed in the menu. Moreover Papyrus adds the actions Clean Diagram and Paste With with Model in this menu, using the deprecated extension point org.eclipse.ui.popupmenu. We must rewrite this menu, as it has already been done for all others GMF actions.
R11337 : share the new plugin oep.infra.gmfdiag.menu. This plugin will regroups the actions for Diagram.
R11340, in oep.infra.gmfdiag.common : - add a property tester for Diagram editor - add a method in DiagramEditPartUtils
R11341 : commit Cut/Copy/Paste action for papyrus (in plugin oep.infra.gmfdiag.menu)
R11343 : Rewrite CleanDiagramHandler and PasteWithModelHandler These actions have been rewritten in oep.uml.diagram.menu (initially they were located in oep.uml.diagram.common)
R11344 : rewrite the action "select element with the same type" -> move its code into oep.infra.gmfdiag.menu
In R11355 Remove the gmf contributions which are now duplicated. in oep.infra.gmfdiag.menu -> in the plugin.xml : defines the binding M1+M3+ALT for select elements with the same type in oep.infra.gmfdiag.gmfmenu.filter -> hide the gmf contribution to cut/copy/paste in oep.uml.diagram.common -> in the plugin.xml : remove the contributions for PasteWithModelCommand and CleanDiagram -> in the source code : destroy the classes : PasteWithModelAction CleanDiagram in oep.uml.diagram.menu : -> in the plugin.properties : remove the string &Select elements with same type -> in the plugin.xml : remove all contributions for Select By Type -> in the source code : destroy the classes : AbstractMenuContributionItemProvider PolicyClass SelectByTypeHandler SelectByTypePropertyTester SelectionContributionItemProvider SelectTypeAction
Unfortunately the Undo/Redo actions are always in the gmf editMenu... I don't know how to remove them (see post http://www.eclipse.org/forums/index.php/m/1062180/#msg_1062180 ) We can't close this bug.