Package org.eclipse.ui.actions
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.
-
ClassDescriptionAn
ActionContext
represents the context used to determine which actions are added by anActionGroup
, and what their enabled state should be.Abstract base implementation ofIActionDelegate
andIActionDelegate2
for a client delegate action.Access to standard actions provided by the workbench.Interface for a workbench action.AnActionGroup
represents a group of actions which are added to a context menu, or the action bars of a part, together.Standard action for adding a bookmark to the currently selected file resource(s).Standard action for adding a task to the currently selected file resource(s).ABaseNewWizardMenu
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.The abstract superclass for actions that listen to selection change events.Standard actions for full and incremental builds of the selected project(s) and their references project build configurations.Standard action for closing the currently selected project(s).This action closes all projects that are unrelated to the selected projects.Indicates that an action has no command mapping.A compound contribution is a contribution item consisting of a dynamic list of contribution items.For a declarative editor action, see if we can link it to a command.Access to standard contribution items provided by the workbench.Perform the copy of file and folder resources from the clipboard when paste action is invoked.The CopyProjectAction is the action designed to copy projects specifically as they have different semantics from other resources.Implementation class to perform the actual copying of project resources from the clipboard when paste action is invoked.Standard action for copying the currently selected resources elsewhere in the workspace.Deprecated.should use NewWizardMenu to populate a New submenu instead (see Navigator view)Deprecated.should use NewWizardMenu to populate a New submenu instead (see Navigator view)Standard action for deleting the currently selected resources.Action representing a generic export operation.Standard action for full and incremental builds of all projects within the workspace.Action representing a generic import operation.ALabelRetargetAction
extends the behavior of RetargetAction.Moves files and folders.The MoveProjectAction is the action designed to move projects specifically as they have different semantics from other resources.Standard action for moving the currently selected resources elsewhere in the workspace.Standard action for launching the create project selection wizard.Standard action for launching the create project selection wizard.Invoke the resource creation wizard selection Wizard.Action which, when run, will open the new wizard dialog.ANewWizardMenu
augmentsBaseNewWizardMenu
with IDE-specific actions: New Project...Standard action for opening an editor on the currently selected file resource(s).Opens a new window.Deprecated.Workbench no longer exposes the concept of "pages" in the user ui model.Deprecated.See IWorkbench.showPerspective methods.Opens a perspective.Deprecated.See IWorkbench.showPerspective methods.Standard action for opening the currently selected project(s).Standard action for opening a system editor on the currently selected file resource.A menu for opening files in the workbench.The abstract superclass for actions that listen to part activation and open/close events.A menu for perspective selection.Abstract class that is capable of creating a context menu.Deprecated.the IDE now uses the new intro mechanismThe 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.Standard action for refreshing the workspace from the local file system for the selected resources and all of their descendants.Standard action for renaming the selected resources.ARetargetAction
tracks the active part in the workbench.Deprecated.This class is obsolete; there is no support in the workspace for scrubbing local content.The abstract superclass for resource-based actions that listen to selection change events.The abstract superclass for actions that listen to selection changes from a particular selection provider.Implements an algorithm for very simple pattern matching in a string.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.Adds working set filter actions (set / clear / edit)The abstract superclass for actions which invoke commands implemented in org.eclipse.core.* on a set of selected resources.An operation which delegates its work to a runnable that modifies the workspace.An operation which potentially makes changes to the workspace.