org.eclipse.jface.action |
Package-level Javadoc
Provides support for shared UI resources such as menus,
tool bars, and status lines.
Package Specification
Contribution managers coordinate contributions to shared UI resources such
as menus, menu bars, tool bars, and status lines. ContributionManager
maintains the contributions as a dynamic list of contribution items (IContributionItems).
Separators (Separator) can be included in contribution lists to
break up the list's visual representation. Internally, contribution lists
can be organized into named groups via special group markers (GroupMarker)
to facilitate programatic insertion at specific positions within the list.
Three specific contribution managers are provided: a status line manager
(StatusLineManager), a tool bar manager (ToolBarManager),
and a hierarchical menu manager (MenuManager).
Actions (IAction) are commands which can be triggered from
the UI, like the ones found in menus, toolbars, and buttons. Menus and
tools bars are typically populated with contribution items that delegate
to actions (ActionContributionItem).
Note: None of the classes in this package maintain global state.
|
Java Source File Name | Type | Comment |
AbstractAction.java | Class |
Some common functionality to share between implementations of
IAction . |
AbstractGroupMarker.java | Class | Abstract superclass for group marker classes. |
Action.java | Class | The standard abstract implementation of an action. |
ActionContributionItem.java | Class | A contribution item which delegates to an action. |
ContributionItem.java | Class | An abstract base implementation for contribution items. |
ContributionManager.java | Class | Abstract base class for all contribution managers, and standard
implementation of IContributionManager . |
ControlContribution.java | Class | An abstract contribution item implementation for adding an arbitrary
SWT control to a tool bar. |
CoolBarManager.java | Class | A cool bar manager is a contribution manager which realizes itself and its
items in a cool bar control. |
ExternalActionManager.java | Class |
A manager for a callback facility which is capable of querying external
interfaces for additional information about actions and action contribution
items. |
GroupMarker.java | Class | A group marker is a special kind of contribution item denoting
the beginning of a group. |
IAction.java | Interface | An action represents the non-UI side of a command which can be triggered
by the end user. |
IContributionItem.java | Interface | A contribution item represents a contribution to a shared UI resource such as a
menu or tool bar. |
IContributionManager.java | Interface | A contribution manager organizes contributions to such UI components
as menus, toolbars and status lines.
A contribution manager keeps track of a list of contribution
items. |
IContributionManagerOverrides.java | Interface | This interface is used by instances of IContributionItem
to determine if the values for certain properties have been overriden
by their manager. |
ICoolBarManager.java | Interface | The ICoolBarManager interface provides protocol for managing
contributions to a cool bar. |
IMenuCreator.java | Interface | Interface for something that creates and disposes of SWT menus. |
IMenuListener.java | Interface | A menu listener that gets informed when a menu is about to show. |
IMenuListener2.java | Interface | A menu listener that gets informed when a menu is about to hide. |
IMenuManager.java | Interface | The IMenuManager interface provides protocol for managing
contributions to a menu bar and its sub menus. |
IStatusLineManager.java | Interface | The IStatusLineManager interface provides protocol
for displaying messages on a status line, for monitoring progress,
and for managing contributions to the status line. |
IToolBarManager.java | Interface | The IToolBarManager interface provides protocol for managing
contributions to a tool bar. |
LegacyActionTools.java | Class |
Some static utility methods for handling labels on actions. |
MenuManager.java | Class | A menu manager is a contribution manager which realizes itself and its items
in a menu control; either as a menu bar, a sub-menu, or a context menu. |
Separator.java | Class | A separator is a special kind of contribution item which acts
as a visual separator and, optionally, acts as a group marker. |
StatusLine.java | Class | A StatusLine control is a SWT Composite with a horizontal layout which hosts
a number of status indication controls. |
StatusLineLayoutData.java | Class | Represents the layout data object for Control within the status line.
To set a StatusLineLayoutData object into a Control , use
the setLayoutData() method. |
StatusLineManager.java | Class | A status line manager is a contribution manager which realizes itself and its items
in a status line control. |
SubContributionItem.java | Class | A SubContributionItem is a wrapper for an IContributionItem . |
SubContributionManager.java | Class | A SubContributionManager is used to define a set of contribution
items within a parent manager. |
SubCoolBarManager.java | Class | A SubCoolBarManager monitors the additional and removal of
items from a parent manager so that visibility of the entire set can be changed as a
unit. |
SubMenuManager.java | Class | A SubMenuManager is used to define a set of contribution
items within a parent manager. |
SubStatusLineManager.java | Class | A SubStatusLineManager is used to define a set of contribution
items within a parent manager. |
SubToolBarManager.java | Class | A SubToolBarManager monitors the additional and removal of
items from a parent manager so that visibility of the entire set can be changed as a
unit. |
ToolBarContributionItem.java | Class | The ToolBarContributionItem class provides a wrapper for tool
bar managers when used in cool bar managers. |
ToolBarManager.java | Class | A tool bar manager is a contribution manager which realizes itself and its
items in a tool bar control. |