Package org.eclipse.ui.views.navigator
Class MainActionGroup
java.lang.Object
org.eclipse.ui.actions.ActionGroup
org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
org.eclipse.ui.views.navigator.MainActionGroup
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
The main action group for the navigator. This contains a few actions and
several subgroups.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AddBookmarkActionDeprecated, for removal: This API element is subject to removal in a future version.protected AddTaskActionDeprecated, for removal: This API element is subject to removal in a future version.protected CollapseAllActionDeprecated, for removal: This API element is subject to removal in a future version.protected ExportResourcesActionDeprecated, for removal: This API element is subject to removal in a future version.protected GotoActionGroupDeprecated, for removal: This API element is subject to removal in a future version.protected ImportResourcesActionDeprecated, for removal: This API element is subject to removal in a future version.protected OpenActionGroupDeprecated, for removal: This API element is subject to removal in a future version.protected PropertyDialogActionDeprecated, for removal: This API element is subject to removal in a future version.protected RefactorActionGroupDeprecated, for removal: This API element is subject to removal in a future version.protected SortAndFilterActionGroupDeprecated, for removal: This API element is subject to removal in a future version.protected ToggleLinkingActionDeprecated, for removal: This API element is subject to removal in a future version.protected UndoRedoActionGroupDeprecated, for removal: This API element is subject to removal in a future version.protected WorkingSetFilterActionGroupDeprecated, for removal: This API element is subject to removal in a future version.protected WorkspaceActionGroupDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
navigator -
Constructor Summary
ConstructorsConstructorDescriptionMainActionGroup(IResourceNavigator navigator) Deprecated, for removal: This API element is subject to removal in a future version.Constructs the main action group. -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Deprecated, for removal: This API element is subject to removal in a future version.Extends the superclass implementation to dispose the actions in this group and its subgroups.voidfillActionBars(IActionBars actionBars) Deprecated, for removal: This API element is subject to removal in a future version.Adds the actions in this group and its subgroups to the action bars.voidfillContextMenu(IMenuManager menu) Deprecated, for removal: This API element is subject to removal in a future version.Fills the context menu with the actions contained in this group and its subgroups.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, delegating to the subgroups as necessary.protected voidDeprecated, for removal: This API element is subject to removal in a future version.Handles a resource changed event by updating the enablement if one of the selected projects is opened or closed.protected voidDeprecated, for removal: This API element is subject to removal in a future version.Makes the actions contained directly in this action group.protected voidDeprecated, for removal: This API element is subject to removal in a future version.Makes the sub action groups.voidrunDefaultAction(IStructuredSelection selection) Deprecated, for removal: This API element is subject to removal in a future version.Runs the default action (open file) by delegating the open group.voidsetContext(ActionContext context) Deprecated, for removal: This API element is subject to removal in a future version.Extends the superclass implementation to set the context in the subgroups.voidDeprecated, for removal: This API element is subject to removal in a future version.Updates the actions which were added to the action bars, delegating to the subgroups as necessary.Methods inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
getImageDescriptor, getNavigatorMethods inherited from class org.eclipse.ui.actions.ActionGroup
getContext
-
Field Details
-
addBookmarkAction
Deprecated, for removal: This API element is subject to removal in a future version. -
addTaskAction
Deprecated, for removal: This API element is subject to removal in a future version. -
propertyDialogAction
Deprecated, for removal: This API element is subject to removal in a future version. -
importAction
Deprecated, for removal: This API element is subject to removal in a future version. -
exportAction
Deprecated, for removal: This API element is subject to removal in a future version. -
collapseAllAction
Deprecated, for removal: This API element is subject to removal in a future version. -
toggleLinkingAction
Deprecated, for removal: This API element is subject to removal in a future version. -
gotoGroup
Deprecated, for removal: This API element is subject to removal in a future version. -
openGroup
Deprecated, for removal: This API element is subject to removal in a future version. -
refactorGroup
Deprecated, for removal: This API element is subject to removal in a future version. -
workingSetGroup
Deprecated, for removal: This API element is subject to removal in a future version. -
sortAndFilterGroup
Deprecated, for removal: This API element is subject to removal in a future version. -
undoRedoGroup
Deprecated, for removal: This API element is subject to removal in a future version. -
workspaceGroup
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
Method Details
-
handleResourceChanged
Deprecated, for removal: This API element is subject to removal in a future version.Handles a resource changed event by updating the enablement if one of the selected projects is opened or closed. -
makeActions
protected void makeActions()Deprecated, for removal: This API element is subject to removal in a future version.Makes the actions contained directly in this action group.- Specified by:
makeActionsin classResourceNavigatorActionGroup
-
makeSubGroups
protected void makeSubGroups()Deprecated, for removal: This API element is subject to removal in a future version.Makes the sub action groups. -
setContext
Deprecated, for removal: This API element is subject to removal in a future version.Extends the superclass implementation to set the context in the subgroups.- Overrides:
setContextin classActionGroup- Parameters:
context- the context to use
-
fillContextMenu
Deprecated, for removal: This API element is subject to removal in a future version.Fills the context menu with the actions contained in this group and its subgroups.- Overrides:
fillContextMenuin classActionGroup- Parameters:
menu- the context menu
-
fillActionBars
Deprecated, for removal: This API element is subject to removal in a future version.Adds the actions in this group and its subgroups to the action bars.- Overrides:
fillActionBarsin classActionGroup- Parameters:
actionBars- the part's action bars
-
updateActionBars
public void updateActionBars()Deprecated, for removal: This API element is subject to removal in a future version.Updates the actions which were added to the action bars, delegating to the subgroups as necessary.- Overrides:
updateActionBarsin classActionGroup
-
runDefaultAction
Deprecated, for removal: This API element is subject to removal in a future version.Runs the default action (open file) by delegating the open group.- Overrides:
runDefaultActionin classResourceNavigatorActionGroup- Parameters:
selection- the current selection
-
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, delegating to the subgroups as necessary.- Overrides:
handleKeyPressedin classResourceNavigatorActionGroup
-
dispose
public void dispose()Deprecated, for removal: This API element is subject to removal in a future version.Extends the superclass implementation to dispose the actions in this group and its subgroups.- Overrides:
disposein classActionGroup
-