Previous Topic Next topic Print topic


Global Action

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.

Note: Caused by an existing restriction in Eclipse 4.x, global actions are currently not shown in the Eclipse menu bar.

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:

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 ISA Editor Action for more information.
ISA Workbench Action [C] ISA_Workbench_Action Complex attribute for workbench actions. See Global action ISA Workbench Action for more information.
Enabled Condition [O] ActionEnabled-Condition This complex attribute lets you define when the action activates. Non-activated actions are 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.

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.
Previous Topic Next topic Print topic