public class GotoActionGroup extends ResourceNavigatorActionGroup
navigator| Constructor and Description |
|---|
GotoActionGroup(IResourceNavigator navigator) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillActionBars(IActionBars actionBars)
Adds the applicable actions to a part's action bars,
including setting any global action handlers.
|
void |
fillContextMenu(IMenuManager menu)
Adds the applicable actions to a context menu,
based on the state of the
ActionContext. |
protected void |
makeActions()
Makes the actions contained in this action group.
|
void |
updateActionBars()
Updates the state of the actions added to the action bars,
including any global action handlers,
based on the state of the
ActionContext. |
getImageDescriptor, getNavigator, handleKeyPressed, runDefaultActiondispose, getContext, setContextpublic GotoActionGroup(IResourceNavigator navigator)
public void fillContextMenu(IMenuManager menu)
ActionGroupActionContext.
The default implementation does nothing. Subclasses may override or extend this method.
fillContextMenu in class ActionGroupmenu - the context menu managerpublic void fillActionBars(IActionBars actionBars)
ActionGroupThe default implementation does nothing. Subclasses may override or extend this method.
fillActionBars in class ActionGroupactionBars - the part's action barsprotected void makeActions()
ResourceNavigatorActionGroupmakeActions in class ResourceNavigatorActionGrouppublic void updateActionBars()
ActionGroupActionContext.
The default implementation does nothing. Subclasses may override or extend this method.
updateActionBars in class ActionGroupGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.