| Summary: | [Model Explorer] Some actions provided in the Model Explorer don't use org.eclipse.ui.menus | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Vincent Lorenzo <vincent.lorenzo> |
| Component: | Core | Assignee: | Vincent Lorenzo <vincent.lorenzo> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.8.0 | ||
| Target Milestone: | 0.8.0 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 336518 | ||
|
Description
Vincent Lorenzo
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 |