We've seen several different extension points that contribute to various menus and toolbars in the workbench. How do you know which one to use? The following table summarizes the various menu contributions and their use.
Extension point name |
Location of Actions |
Details |
---|---|---|
menus |
Commands can be placed in the main menu and toolbar. Command can be placed in part context menus, as well as view menus and view toolbars. The placement is controlled by the locationURI and the visibility is controlled by the visibleWhen core expression. |
The extension point should be used to place commands in menus and toolbars so they can be executed by the user. |
This replaces the old action extension points, actionSets, editorActions, viewActions, popupMenus, and actionSetPartAssociations.