public class MainActionGroup extends ResourceNavigatorActionGroup
| Modifier and Type | Field and Description |
|---|---|
protected AddBookmarkAction |
addBookmarkAction
Deprecated.
|
protected AddTaskAction |
addTaskAction
Deprecated.
|
protected CollapseAllAction |
collapseAllAction
Deprecated.
|
protected ExportResourcesAction |
exportAction
Deprecated.
|
protected GotoActionGroup |
gotoGroup
Deprecated.
|
protected ImportResourcesAction |
importAction
Deprecated.
|
protected OpenActionGroup |
openGroup
Deprecated.
|
protected PropertyDialogAction |
propertyDialogAction
Deprecated.
|
protected RefactorActionGroup |
refactorGroup
Deprecated.
|
protected SortAndFilterActionGroup |
sortAndFilterGroup
Deprecated.
|
protected ToggleLinkingAction |
toggleLinkingAction
Deprecated.
|
protected UndoRedoActionGroup |
undoRedoGroup
Deprecated.
|
protected WorkingSetFilterActionGroup |
workingSetGroup
Deprecated.
|
protected WorkspaceActionGroup |
workspaceGroup
Deprecated.
|
navigator| Constructor and Description |
|---|
MainActionGroup(IResourceNavigator navigator)
Deprecated.
Constructs the main action group.
|
| Modifier and Type | Method and Description |
|---|---|
void |
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 |
handleResourceChanged(IResourceChangeEvent event)
Deprecated.
Handles a resource changed event by updating the enablement
if one of the selected projects is opened or closed.
|
protected void |
makeActions()
Deprecated.
Makes the actions contained directly in this action group.
|
protected void |
makeSubGroups()
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 |
updateActionBars()
Deprecated.
Updates the actions which were added to the action bars,
delegating to the subgroups as necessary.
|
getImageDescriptor, getNavigatorgetContextprotected AddBookmarkAction addBookmarkAction
protected AddTaskAction addTaskAction
protected PropertyDialogAction propertyDialogAction
protected ImportResourcesAction importAction
protected ExportResourcesAction exportAction
protected CollapseAllAction collapseAllAction
protected ToggleLinkingAction toggleLinkingAction
protected GotoActionGroup gotoGroup
protected OpenActionGroup openGroup
protected RefactorActionGroup refactorGroup
protected WorkingSetFilterActionGroup workingSetGroup
protected SortAndFilterActionGroup sortAndFilterGroup
protected UndoRedoActionGroup undoRedoGroup
protected WorkspaceActionGroup workspaceGroup
public MainActionGroup(IResourceNavigator navigator)
navigator - the navigator viewprotected void handleResourceChanged(IResourceChangeEvent event)
protected void makeActions()
makeActions in class ResourceNavigatorActionGroupprotected void makeSubGroups()
public void setContext(ActionContext context)
setContext in class ActionGroupcontext - the context to usepublic void fillContextMenu(IMenuManager menu)
fillContextMenu in class ActionGroupmenu - the context menupublic void fillActionBars(IActionBars actionBars)
fillActionBars in class ActionGroupactionBars - the part's action barspublic void updateActionBars()
updateActionBars in class ActionGrouppublic void runDefaultAction(IStructuredSelection selection)
runDefaultAction in class ResourceNavigatorActionGroupselection - the current selectionpublic void handleKeyPressed(KeyEvent event)
handleKeyPressed in class ResourceNavigatorActionGrouppublic void dispose()
dispose in class ActionGroup
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.