Package org.eclipse.ui.views.navigator
Class WorkspaceActionGroup
java.lang.Object
org.eclipse.ui.actions.ActionGroup
org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
org.eclipse.ui.views.navigator.WorkspaceActionGroup
Deprecated, for removal: This API element is subject to removal in a future version.
as of 3.5, use the Common Navigator Framework classes instead
This is the action group for workspace actions such as Build, Refresh Local,
and Open/Close Project.
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be referenced by clients. Planned to be deleted, please see Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=549953
- Restriction:
- This class is not intended to be instantiated by clients.
-
Field Summary
Fields inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
navigator -
Constructor Summary
ConstructorsConstructorDescriptionWorkspaceActionGroup(IResourceNavigator navigator) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidfillActionBars(IActionBars actionBars) Deprecated, for removal: This API element is subject to removal in a future version.Adds the applicable actions to a part's action bars, including setting any global action handlers.voidfillContextMenu(IMenuManager menu) Deprecated, for removal: This API element is subject to removal in a future version.Adds the build, open project, close project and refresh resource actions to the context menu.voidhandleKeyPressed(KeyEvent event) Deprecated, for removal: This API element is subject to removal in a future version.Handles a key pressed event by invoking the appropriate action.protected voidDeprecated, for removal: This API element is subject to removal in a future version.Makes the actions contained in this action group.voidDeprecated, for removal: This API element is subject to removal in a future version.Updates the state of the actions added to the action bars, including any global action handlers, based on the state of theActionContext.Methods inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
getImageDescriptor, getNavigator, runDefaultActionMethods inherited from class org.eclipse.ui.actions.ActionGroup
dispose, getContext, setContext
-
Constructor Details
-
Method Details
-
fillActionBars
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ActionGroupAdds the applicable actions to a part's action bars, including setting any global action handlers.The default implementation does nothing. Subclasses may override or extend this method.
- Overrides:
fillActionBarsin classActionGroup- Parameters:
actionBars- the part's action bars
-
fillContextMenu
Deprecated, for removal: This API element is subject to removal in a future version.Adds the build, open project, close project and refresh resource actions to the context menu.The following conditions apply: build-only projects selected, auto build disabled, at least one builder present open project-only projects selected, at least one closed project close project-only projects selected, at least one open project refresh-no closed project selected
Both the open project and close project action may be on the menu at the same time.
No disabled action should be on the context menu.
- Overrides:
fillContextMenuin classActionGroup- Parameters:
menu- context menu to add actions to
-
handleKeyPressed
Deprecated, for removal: This API element is subject to removal in a future version.Handles a key pressed event by invoking the appropriate action.- Overrides:
handleKeyPressedin classResourceNavigatorActionGroup
-
makeActions
protected void makeActions()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ResourceNavigatorActionGroupMakes the actions contained in this action group.- Specified by:
makeActionsin classResourceNavigatorActionGroup
-
updateActionBars
public void updateActionBars()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ActionGroupUpdates the state of the actions added to the action bars, including any global action handlers, based on the state of theActionContext.The default implementation does nothing. Subclasses may override or extend this method.
- Overrides:
updateActionBarsin classActionGroup
-