Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336518

Summary: [General] All Papyrus plugins should use the UI Commands Framework
Product: [Modeling] Papyrus Reporter: Cedric Dumoulin <cedric.dumoulin>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Whiteboard:
Bug Depends on: 309958, 334984, 336505    
Bug Blocks:    

Description Cedric Dumoulin CLA 2011-02-07 10:11:28 EST
Whenever a Papyrus plugin need to contribute to menu, context menu, toolbar, coolbar, ... it should use the Eclipse UI commands frameworks.

More info on the framework can be found here:
 - http://wiki.eclipse.org/Command_Core_Expressions
 - http://wiki.eclipse.org/Platform_Command_Framework
 - http://www.vogella.de/articles/EclipseCommands/article.html

The extensions points to use for declaring UI commands:

org.eclipse.ui.commands
org.eclipse.ui.handlers
org.eclipse.ui.menus

Eclipse Documentation:
- Platform Plug-in Developer Guide > Programmer's Guide > Plugging into the workbench > Basic workbench extension points using commands

Papyrus shall provides a up-to-date list of its extension points, ISourceProviders and other useful extensions helpful for menu contributions.
Comment 1 Camille Letavernier CLA 2013-03-25 09:00:23 EDT
Most papyrus-specific commands have been replaced with commands/handlers/menus. I close this task.