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 public class MainActionGroup extends ResourceNavigatorActionGroup
Deprecated.as of 3.5, use the Common Navigator Framework classes insteadThe main action group for the navigator. This contains a few actions and several subgroups.
-
-
Field Summary
Fields Modifier and Type Field Description protected AddBookmarkActionaddBookmarkActionDeprecated.protected AddTaskActionaddTaskActionDeprecated.protected CollapseAllActioncollapseAllActionDeprecated.protected ExportResourcesActionexportActionDeprecated.protected GotoActionGroupgotoGroupDeprecated.protected ImportResourcesActionimportActionDeprecated.protected OpenActionGroupopenGroupDeprecated.protected PropertyDialogActionpropertyDialogActionDeprecated.protected RefactorActionGrouprefactorGroupDeprecated.protected SortAndFilterActionGroupsortAndFilterGroupDeprecated.protected ToggleLinkingActiontoggleLinkingActionDeprecated.protected UndoRedoActionGroupundoRedoGroupDeprecated.protected WorkingSetFilterActionGroupworkingSetGroupDeprecated.protected WorkspaceActionGroupworkspaceGroupDeprecated.-
Fields inherited from class org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
navigator
-
-
Constructor Summary
Constructors Constructor Description MainActionGroup(IResourceNavigator navigator)Deprecated.Constructs the main action group.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddispose()Deprecated.Extends the superclass implementation to dispose the actions in this group and its subgroups.voidfillActionBars(IActionBars actionBars)Deprecated.Adds the actions in this group and its subgroups to the action bars.voidfillContextMenu(IMenuManager menu)Deprecated.Fills the context menu with the actions contained in this group and its subgroups.voidhandleKeyPressed(KeyEvent event)Deprecated.Handles a key pressed event by invoking the appropriate action, delegating to the subgroups as necessary.protected voidhandleResourceChanged(IResourceChangeEvent event)Deprecated.Handles a resource changed event by updating the enablement if one of the selected projects is opened or closed.protected voidmakeActions()Deprecated.Makes the actions contained directly in this action group.protected voidmakeSubGroups()Deprecated.Makes the sub action groups.voidrunDefaultAction(IStructuredSelection selection)Deprecated.Runs the default action (open file) by delegating the open group.voidsetContext(ActionContext context)Deprecated.Extends the superclass implementation to set the context in the subgroups.voidupdateActionBars()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 Detail
-
addBookmarkAction
protected AddBookmarkAction addBookmarkAction
Deprecated.
-
addTaskAction
protected AddTaskAction addTaskAction
Deprecated.
-
propertyDialogAction
protected PropertyDialogAction propertyDialogAction
Deprecated.
-
importAction
protected ImportResourcesAction importAction
Deprecated.
-
exportAction
protected ExportResourcesAction exportAction
Deprecated.
-
collapseAllAction
protected CollapseAllAction collapseAllAction
Deprecated.
-
toggleLinkingAction
protected ToggleLinkingAction toggleLinkingAction
Deprecated.
-
gotoGroup
protected GotoActionGroup gotoGroup
Deprecated.
-
openGroup
protected OpenActionGroup openGroup
Deprecated.
-
refactorGroup
protected RefactorActionGroup refactorGroup
Deprecated.
-
workingSetGroup
protected WorkingSetFilterActionGroup workingSetGroup
Deprecated.
-
sortAndFilterGroup
protected SortAndFilterActionGroup sortAndFilterGroup
Deprecated.
-
undoRedoGroup
protected UndoRedoActionGroup undoRedoGroup
Deprecated.
-
workspaceGroup
protected WorkspaceActionGroup workspaceGroup
Deprecated.
-
-
Constructor Detail
-
MainActionGroup
public MainActionGroup(IResourceNavigator navigator)
Deprecated.Constructs the main action group.- Parameters:
navigator- the navigator view
-
-
Method Detail
-
handleResourceChanged
protected void handleResourceChanged(IResourceChangeEvent event)
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:
makeActionsin classResourceNavigatorActionGroup
-
makeSubGroups
protected void makeSubGroups()
Deprecated.Makes the sub action groups.
-
setContext
public void setContext(ActionContext context)
Deprecated.Extends the superclass implementation to set the context in the subgroups.- Overrides:
setContextin classActionGroup- Parameters:
context- the context to use
-
fillContextMenu
public void fillContextMenu(IMenuManager menu)
Deprecated.Fills the context menu with the actions contained in this group and its subgroups.- Overrides:
fillContextMenuin classActionGroup- Parameters:
menu- the context menu
-
fillActionBars
public void fillActionBars(IActionBars actionBars)
Deprecated.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.Updates the actions which were added to the action bars, delegating to the subgroups as necessary.- Overrides:
updateActionBarsin classActionGroup
-
runDefaultAction
public void runDefaultAction(IStructuredSelection selection)
Deprecated.Runs the default action (open file) by delegating the open group.- Overrides:
runDefaultActionin classResourceNavigatorActionGroup- Parameters:
selection- the current selection
-
handleKeyPressed
public void handleKeyPressed(KeyEvent event)
Deprecated.Handles a key pressed event by invoking the appropriate action, delegating to the subgroups as necessary.- Overrides:
handleKeyPressedin classResourceNavigatorActionGroup
-
dispose
public void dispose()
Deprecated.Extends the superclass implementation to dispose the actions in this group and its subgroups.- Overrides:
disposein classActionGroup
-
-