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.
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 AddBookmarkAction
Deprecated.protected AddTaskAction
Deprecated.protected CollapseAllAction
Deprecated.protected ExportResourcesAction
Deprecated.protected GotoActionGroup
Deprecated.protected ImportResourcesAction
Deprecated.protected OpenActionGroup
Deprecated.protected PropertyDialogAction
Deprecated.protected RefactorActionGroup
Deprecated.protected SortAndFilterActionGroup
Deprecated.protected ToggleLinkingAction
Deprecated.protected UndoRedoActionGroup
Deprecated.protected WorkingSetFilterActionGroup
Deprecated.protected WorkspaceActionGroup
Deprecated.Fields inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
navigator
-
Constructor Summary
ConstructorsConstructorDescriptionMainActionGroup
(IResourceNavigator navigator) Deprecated.Constructs the main action group. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Deprecated.Extends the superclass implementation to dispose the actions in this group and its subgroups.void
fillActionBars
(IActionBars actionBars) Deprecated.Adds the actions in this group and its subgroups to the action bars.void
fillContextMenu
(IMenuManager menu) Deprecated.Fills the context menu with the actions contained in this group and its subgroups.void
handleKeyPressed
(KeyEvent event) Deprecated.Handles a key pressed event by invoking the appropriate action, delegating to the subgroups as necessary.protected void
Deprecated.Handles a resource changed event by updating the enablement if one of the selected projects is opened or closed.protected void
Deprecated.Makes the actions contained directly in this action group.protected void
Deprecated.Makes the sub action groups.void
runDefaultAction
(IStructuredSelection selection) Deprecated.Runs the default action (open file) by delegating the open group.void
setContext
(ActionContext context) Deprecated.Extends the superclass implementation to set the context in the subgroups.void
Deprecated.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, getNavigator
Methods inherited from class org.eclipse.ui.actions.ActionGroup
getContext
-
Field Details
-
addBookmarkAction
Deprecated. -
addTaskAction
Deprecated. -
propertyDialogAction
Deprecated. -
importAction
Deprecated. -
exportAction
Deprecated. -
collapseAllAction
Deprecated. -
toggleLinkingAction
Deprecated. -
gotoGroup
Deprecated. -
openGroup
Deprecated. -
refactorGroup
Deprecated. -
workingSetGroup
Deprecated. -
sortAndFilterGroup
Deprecated. -
undoRedoGroup
Deprecated. -
workspaceGroup
Deprecated.
-
-
Constructor Details
-
Method Details
-
handleResourceChanged
Deprecated.Handles a resource changed event by updating the enablement if one of the selected projects is opened or closed. -
makeActions
protected void makeActions()Deprecated.Makes the actions contained directly in this action group.- Specified by:
makeActions
in classResourceNavigatorActionGroup
-
makeSubGroups
protected void makeSubGroups()Deprecated.Makes the sub action groups. -
setContext
Deprecated.Extends the superclass implementation to set the context in the subgroups.- Overrides:
setContext
in classActionGroup
- Parameters:
context
- the context to use
-
fillContextMenu
Deprecated.Fills the context menu with the actions contained in this group and its subgroups.- Overrides:
fillContextMenu
in classActionGroup
- Parameters:
menu
- the context menu
-
fillActionBars
Deprecated.Adds the actions in this group and its subgroups to the action bars.- Overrides:
fillActionBars
in classActionGroup
- Parameters:
actionBars
- the part's action bars
-
updateActionBars
public void updateActionBars()Deprecated.Updates the actions which were added to the action bars, delegating to the subgroups as necessary.- Overrides:
updateActionBars
in classActionGroup
-
runDefaultAction
Deprecated.Runs the default action (open file) by delegating the open group.- Overrides:
runDefaultAction
in classResourceNavigatorActionGroup
- Parameters:
selection
- the current selection
-
handleKeyPressed
Deprecated.Handles a key pressed event by invoking the appropriate action, delegating to the subgroups as necessary.- Overrides:
handleKeyPressed
in classResourceNavigatorActionGroup
-
dispose
public void dispose()Deprecated.Extends the superclass implementation to dispose the actions in this group and its subgroups.- Overrides:
dispose
in classActionGroup
-