Package SpecificationActions 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
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 Interface Description ActionFactory.IWorkbenchActionInterface for a workbench action.
Class Summary Class Description ActionContextAn
ActionContextrepresents the context used to determine which actions are added by an
ActionGroup, and what their enabled state should be.
ActionDelegateAbstract base implementation of
IActionDelegate2for a client delegate action.
ActionFactoryAccess to standard actions provided by the workbench. ActionGroupAn
ActionGrouprepresents a group of actions which are added to a context menu, or the action bars of a part, together.
AddBookmarkActionStandard action for adding a bookmark to the currently selected file resource(s). AddTaskActionStandard action for adding a task to the currently selected file resource(s). BaseNewWizardMenuA
BaseNewWizardMenuis 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.
BaseSelectionListenerActionThe abstract superclass for actions that listen to selection change events. BuildActionStandard actions for full and incremental builds of the selected project(s) and their references project build configurations. CloseResourceActionStandard action for closing the currently selected project(s). CloseUnrelatedProjectsActionThis action closes all projects that are unrelated to the selected projects. CompoundContributionItemA compound contribution is a contribution item consisting of a dynamic list of contribution items. ContributedActionFor a declarative editor action, see if we can link it to a command. ContributionItemFactoryAccess to standard contribution items provided by the workbench. CopyFilesAndFoldersOperationPerform the copy of file and folder resources from the clipboard when paste action is invoked. CopyProjectActionThe CopyProjectAction is the action designed to copy projects specifically as they have different semantics from other resources. CopyProjectOperationImplementation class to perform the actual copying of project resources from the clipboard when paste action is invoked. CopyResourceActionStandard 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) DeleteResourceActionStandard action for deleting the currently selected resources. ExportResourcesActionAction representing a generic export operation. GlobalBuildActionStandard action for full and incremental builds of all projects within the workspace. ImportResourcesActionAction representing a generic import operation. LabelRetargetActionA
LabelRetargetActionextends the behavior of RetargetAction.
MoveFilesAndFoldersOperationMoves files and folders. MoveProjectActionThe MoveProjectAction is the action designed to move projects specifically as they have different semantics from other resources. MoveResourceActionStandard action for moving the currently selected resources elsewhere in the workspace. NewExampleActionStandard action for launching the create project selection wizard. NewProjectActionStandard action for launching the create project selection wizard. NewWizardActionInvoke the resource creation wizard selection Wizard. NewWizardDropDownActionAction which, when run, will open the new wizard dialog. NewWizardMenuA
BaseNewWizardMenuwith IDE-specific actions: New Project...
OpenFileActionStandard action for opening an editor on the currently selected file resource(s). OpenInNewWindowActionOpens a new window. OpenNewPageMenu Deprecated.Workbench no longer exposes the concept of "pages" in the user ui model. OpenNewWindowMenu Deprecated.See IWorkbench.showPerspective methods. OpenPerspectiveActionOpens a perspective. OpenPerspectiveMenu Deprecated.See IWorkbench.showPerspective methods. OpenResourceActionStandard action for opening the currently selected project(s). OpenSystemEditorActionStandard action for opening a system editor on the currently selected file resource. OpenWithMenuA menu for opening files in the workbench. PartEventActionThe abstract superclass for actions that listen to part activation and open/close events. PerspectiveMenuA menu for perspective selection. QuickMenuCreatorAbstract class that is capable of creating a context menu. QuickStartAction Deprecated.the IDE now uses the new intro mechanism ReadOnlyStateCheckerThe 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. RefreshActionStandard action for refreshing the workspace from the local file system for the selected resources and all of their descendants. RenameResourceActionStandard action for renaming the selected resources. RetargetActionA
RetargetActiontracks the active part in the workbench.
ScrubLocalAction Deprecated.This class is obsolete; there is no support in the workspace for scrubbing local content. SelectionListenerActionThe abstract superclass for resource-based actions that listen to selection change events. SelectionProviderActionThe abstract superclass for actions that listen to selection changes from a particular selection provider. SimpleWildcardTesterImplements an algorithm for very simple pattern matching in a string. TextActionHandlerHandles 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. WorkingSetFilterActionGroupAdds working set filter actions (set / clear / edit) WorkspaceActionThe abstract superclass for actions which invoke commands implemented in org.eclipse.core.* on a set of selected resources. WorkspaceModifyDelegatingOperationAn operation which delegates its work to a runnable that modifies the workspace. WorkspaceModifyOperationAn operation which potentially makes changes to the workspace.
Exception Summary Exception Description CommandNotMappedExceptionIndicates that an action has no command mapping.