A global action describes the location of an executable action described by an action descriptor. Global actions are usually used for action descriptors that do not necessarily belong to a certain type (element type, filter type, …).
There are two types of global actions: workbench actions and editor actions.
See Global Action is an Editor Action for more information.
It is not guaranteed that the Editor Actions are visible in all Eclipse editors. It depends on the Editor provider. Editor Actions are displayed at least in the context menu of the following editors:
The Micro Focus COBOL editor in Visual COBOL.
Attribute | Type | Description |
---|---|---|
ID * | ID | The ID of the global action. |
TargetID * | Action Descriptor | Reference to an action descriptor. |
ISA Editor Action [C] | ISA_Editor_Action | Complex attribute for editor actions. See Global Action is an Editor Action for more information. |
ISA Workbench Action [C] | ISA_Workbench_Action | Complex attribute for workbench actions. See Global Action is a Workbench Action for more information. |
Visible Condition [O] | ActionVisible-Condition | This complex attribute lets you define when the action is shown in the menu bar or the editor's context menu. |
Enabled Condition [O] | ActionEnabled-Condition | This complex attribute lets you define when the action is activated. If the Enabled Condition does not apply the action is disabled. |
Label [O] | String | The global action label that appears in context menus or the menu bar.
If not specified, the referenced action descriptor label is used. |
Separator After [o] | Boolean | Determines whether to insert a separator line behind the menu bar or context menu entry.
The default value is false. |
SeqNo * | Integer | The position number of the global action in menus. |
Submenu [O] | String | The name of a submenu in which the action should appear. If not specified, the action is created as a top level menu entry. |
Icon [O] | Icon | The icon of the global action to display in menus. |