Runtime

Package org.eclipse.gmf.runtime.common.ui.action

Provides a set of classes for defining Actions which are run in order to carry out application behaviour that the user has requested through the user-interface.

See:
          Description

Interface Summary
IActionManagerChangeListener The interface for all objects that are interested in action manager change events.
IActionWithProgress The interface for all actions that could potentially be run with a progress indicator.
IDisposableAction Interface extension to IAction adding lifecycle methods.
 

Class Summary
AbstractActionDelegate The abstract parent of all concrete action delegates that execute commands.
AbstractActionHandler The abstract parent of all concrete action handlers that execute commands.
AbstractContributionItem A custom contribution item that goes into a workbenchpart's toolbar
ActionManager Responsible for managing the running of actions.
ActionManagerChangeEvent Represent an event that is fired when an action manager changes.
ActionMenuManager An implementation of an IMenuManager that inherits its UI (text + icon + hints) from a given action.
IActionWithProgress.WorkIndicatorType Enumerated type for work indicator type
 

Package org.eclipse.gmf.runtime.common.ui.action Description

Provides a set of classes for defining Actions which are run in order to carry out application behaviour that the user has requested through the user-interface. Two types of actions are supported, namely plugin-in actions, and retargetable (or global) actions. Both kinds of actions are eligible to be repeated through the ActionManager.

The plugin-in actions can be contributed using the extension points provided by the Eclipse platform, namely:

The behaviour of these action extensions is defined in an action delegate . Modeling platform plugin-in action implementations should subclass the AbstractActionDelegate class in this package and implement the interface(s) appropriate to the Eclipse platform extension point(s) being used.

The retargetable (or global) actions can be contributed using the extension points provided by the Eclipse platform, namely:

The behaviour of these action extensions is defined in an action handler . Modeling platform retargetable action implementations should subclass the AbstractActionHandler class in this package.

Modeling platform actions are run through an instance of the ActionManager class. The action manager will keep track of the last action that was run that is eligible to be repeated.


Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.