# Package org.eclipse.ui.actions

Classes for actions and operations used in a workbench window, page, or part in the Eclipse Platform User Interface.

## Package Specification

Actions for resource management, project build and workbench page management are provided to encourage a standard look and feel across views and editors contributed by independent system vendors. Base classes are also provided for selection oriented actions which enable or disable based upon selection in a part or viewer. These should be used by ISV's to define actions for menus, toolbars, and context menus.

Action which leads to resource modification should take advantage of the `WorkspaceModifyOperation` classes. These classes are used to defer events which typically occur as a result of workspace changes (such as the firing of resource deltas, performance of autobuilds, etc.) until the outermost operation has successfully completed. This deferral leads to an optimized, faster execution of resource modification because fewer deltas and autobuilds are performed.

Interface Summary
ActionFactory.IWorkbenchAction: Interface for a workbench action.

Class Summary
ActionContext: An `ActionContext` represents the context used to determine which actions are added by an `ActionGroup`, and what their enabled state should be.
ActionDelegate: Abstract base implementation of `IActionDelegate` and `IActionDelegate2` for a client delegate action.
ActionFactory: Access to standard actions provided by the workbench.
ActionGroup: An `ActionGroup` represents a group of actions which are added to a context menu, or the action bars of a part, together.
AddBookmarkAction: Standard action for adding a bookmark to the currently selected file resource(s).
AddTaskAction: Standard action for adding a task to the currently selected file resource(s).
BaseNewWizardMenu: A `BaseNewWizardMenu` is used to populate a menu manager with New Wizard actions for the current perspective's new wizard shortcuts, including an Other... action to open the new wizard dialog.
BaseSelectionListenerAction: The abstract superclass for actions that listen to selection change events.
BuildAction: Standard actions for full and incremental builds of the selected project(s) and their references project build configurations.
CloseResourceAction: Standard action for closing the currently selected project(s).
CloseUnrelatedProjectsAction: This action closes all projects that are unrelated to the selected projects.
CompoundContributionItem: A compound contribution is a contribution item consisting of a dynamic list of contribution items.
ContributedAction: For a declarative editor action, see if we can link it to a command.
ContributionItemFactory: Access to standard contribution items provided by the workbench.
CopyFilesAndFoldersOperation: Perform the copy of file and folder resources from the clipboard when paste action is invoked.
CopyProjectAction: The CopyProjectAction is the action designed to copy projects specifically as they have different semantics from other resources.
CopyProjectOperation: Implementation class to perform the actual copying of project resources from the clipboard when paste action is invoked.
CopyResourceAction: Standard action for copying the currently selected resources elsewhere in the workspace.
CreateFileAction: Deprecated. should use NewWizardMenu to populate a New submenu instead (see Navigator view)
CreateFolderAction: Deprecated. should use NewWizardMenu to populate a New submenu instead (see Navigator view)
DeleteResourceAction: Standard action for deleting the currently selected resources.
ExportResourcesAction: Action representing a generic export operation.
GlobalBuildAction: Standard action for full and incremental builds of all projects within the workspace.
ImportResourcesAction: Action representing a generic import operation.
LabelRetargetAction: A `LabelRetargetAction` extends the behavior of RetargetAction.
MoveFilesAndFoldersOperation: Moves files and folders.
MoveProjectAction: The MoveProjectAction is the action designed to move projects specifically as they have different semantics from other resources.
MoveResourceAction: Standard action for moving the currently selected resources elsewhere in the workspace.
NewExampleAction: Standard action for launching the create project selection wizard.
NewProjectAction: Standard action for launching the create project selection wizard.
NewWizardAction: Invoke the resource creation wizard selection Wizard.
NewWizardDropDownAction: Action which, when run, will open the new wizard dialog.
NewWizardMenu: A `NewWizardMenu` augments `BaseNewWizardMenu` with IDE-specific actions: New Project...
OpenFileAction: Standard action for opening an editor on the currently selected file resource(s).
OpenInNewWindowAction: Opens a new window.
OpenNewPageMenu: Deprecated. Workbench no longer exposes the concept of "pages" in the user ui model.
OpenNewWindowMenu: Deprecated. See IWorkbench.showPerspective methods.
OpenPerspectiveAction: Opens a perspective.
OpenPerspectiveMenu: Deprecated. See IWorkbench.showPerspective methods.
OpenResourceAction: Standard action for opening the currently selected project(s).
OpenSystemEditorAction: Standard action for opening a system editor on the currently selected file resource.
OpenWithMenu: A menu for opening files in the workbench.
PartEventAction: The abstract superclass for actions that listen to part activation and open/close events.
PerspectiveMenu: A menu for perspective selection.
QuickMenuCreator: Abstract class that is capable of creating a context menu.
QuickStartAction: Deprecated. the IDE now uses the new intro mechanism
ReadOnlyStateChecker: The ReadOnlyStateChecker is a helper class that takes a set of resource some of which may be read only and queries the user as to whether or not they wish to continue the operation on it.
RefreshAction: Standard action for refreshing the workspace from the local file system for the selected resources and all of their descendants.
RenameResourceAction: Standard action for renaming the selected resources.
RetargetAction: A `RetargetAction` tracks the active part in the workbench.
ScrubLocalAction: Deprecated. This class is obsolete; there is no support in the workspace for scrubbing local content.
SelectionListenerAction: The abstract superclass for resource-based actions that listen to selection change events.
SelectionProviderAction: The abstract superclass for actions that listen to selection changes from a particular selection provider.
SimpleWildcardTester: Implements an algorithm for very simple pattern matching in a string.
TextActionHandler: Handles the redirection of the global Cut, Copy, Paste, and Select All actions to either the current inline text control or the part's supplied action handler.
WorkingSetFilterActionGroup: Adds working set filter actions (set / clear / edit)
WorkspaceAction: The abstract superclass for actions which invoke commands implemented in org.eclipse.core.* on a set of selected resources.
WorkspaceModifyDelegatingOperation: An operation which delegates its work to a runnable that modifies the workspace.
WorkspaceModifyOperation: An operation which potentially makes changes to the workspace.

Exception Summary
CommandNotMappedException: Indicates that an action has no command mapping.