Community
Participate
Working Groups
Some actions in the Model Explorer don't use org.eclipse.ui.menus ; Currently, the class DiagramActionProvider provides the following actions for a Diagram : - Rename - Open in a New Tab / Open - Close All Diagram - Close - Delete - Duplicate Moreover the copy/paste/cut function are not correctly binding with the Eclipse Framework
In R3939 : The following actions are rewritten : Rename for diagram Rename for NamedElement Open/Open In New Tab Close Close All oep.modelexplorer and oep.uml.modelexplorer are impacted.
In R3939 : the old classes which do these actions are now @deprecated the extension point schema/org.eclipse.papyrus.modelexplorer.actionHandler.exsd is deprecated too
I think that we should provide common entry points for contextual menu, main menu, ... By common, I mean that we should provide some 'contribution menu' with identical names in both explorer context menu, diagram context menu, Papyrus main menu ... This should allow to add command in all this menu, just with one declaration. Furthermore, we should document that in a wiki page for example.
In R3942 : remove unused dependency
(In reply to comment #3) That you describe is something like the extensions points provided by GMF : contributionItemProvider. Why not, but, we should be careful in order don't have the same problems that the GMF extension point. (commands which don't appear in the key preference pages, menus (toolbar, popup, menu), which don't appear in the perspective customization, current eclipse extension points, which can't insert their own commands in the GMF menus...
In R3950 : add a test in order avoid NPE, in OpenHandler
In R3976 : Cut/Copy/Paste/Undo/Redo are rewritten with the Eclipse Framework.
This bug can be marked as closed