Difference between revisions of "Platform UI Command Design"
Line 3: | Line 3: | ||
There are discussions in a number of places: | There are discussions in a number of places: | ||
− | * [https://bugs.eclipse.org/bugs/show_bug.cgi?id=36968 Bug 36968 | + | * [https://bugs.eclipse.org/bugs/show_bug.cgi?id=36968 Bug 36968 -Contributions- Improve action contributions] |
− | * [https://bugs.eclipse.org/bugs/show_bug.cgi?id=80725 Bug 80725 | + | * [https://bugs.eclipse.org/bugs/show_bug.cgi?id=80725 Bug 80725 -Contributions- -RCP- Allow action sets to be shown when no perspective open] |
Revision as of 15:01, 16 August 2006
The Contribution proposal started a couple of releases ago Contribution RFC
There are discussions in a number of places:
- Bug 36968 -Contributions- Improve action contributions
- Bug 80725 -Contributions- -RCP- Allow action sets to be shown when no perspective open
Commands and Handlers
Commands are managed by the org.eclipse.ui.commands extension point and the ICommandService.
Handlers are managed by the org.eclipse.ui.handlers extension point and the IHandlerService.
KeyBindings and Contexts
KeyBindings are managed by the org.eclipse.ui.bindings extension point and the IBindingService.
Contexts are managed by the org.eclipse.ui.contexts extension point and the IContextService.
Menus
Currently, menus are managed by 4 extension points:
- org.eclipse.ui.actionSets
- org.eclipse.ui.editorActions
- org.eclipse.ui.viewActions
- org.eclipse.ui.popupMenus
Programmatic contributions are managed through a number of locations: IActionBars, IViewSite, IEditorSite ... more to follow