Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Platform UI Command Design"

m
Line 1: Line 1:
The Contribution proposal started a couple of releases ago
+
Starting point for menu and toolbar placement of commands.
[http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-ui-home/R3_1/contributions-proposal/requestForComments.html Contribution RFC]
+
 
+
There are discussions in a number of places:
+
* [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 -Contributions- -RCP- Allow action sets to be shown when no perspective open]
+
 
+
  
 
= Commands and Handlers =
 
= Commands and Handlers =
Line 28: Line 22:
  
 
Programmatic contributions are managed through a number of locations: IActionBars, IViewSite, IEditorSite ... more to follow
 
Programmatic contributions are managed through a number of locations: IActionBars, IViewSite, IEditorSite ... more to follow
 +
 +
= Historical Information =
 +
 +
The Contribution proposal started a couple of releases ago
 +
[http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-ui-home/R3_1/contributions-proposal/requestForComments.html Contribution RFC]
 +
 +
There are discussions in a number of places:
 +
* [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 -Contributions- -RCP- Allow action sets to be shown when no perspective open]

Revision as of 08:10, 17 August 2006

Starting point for menu and toolbar placement of commands.

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

Historical Information

The Contribution proposal started a couple of releases ago Contribution RFC

There are discussions in a number of places:

Back to the top