public class GoIntoActionProvider extends CommonActionProvider
ProjectExplorer
Constructor and Description |
---|
GoIntoActionProvider() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
This method is called by the user of an action group to signal that the group is
no longer needed.
|
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 . |
void |
init(ICommonActionExtensionSite anActionSite)
Initialize the current ICommonActionProvider with the supplied
information.
|
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 . |
filterAction, getActionSite, restoreState, saveState
getContext, setContext
public void init(ICommonActionExtensionSite anActionSite)
CommonActionProvider
Initialize the current ICommonActionProvider with the supplied information.
init() is guaranteed to be called before any other method of the ActionGroup super class.
init
in class CommonActionProvider
anActionSite
- The configuration information for the instantiated Common
Action Provider.public void dispose()
ActionGroup
The default implementation calls setContext(null)
.
Subclasses may extend this method.
dispose
in class ActionGroup
public void fillActionBars(IActionBars actionBars)
ActionGroup
The default implementation does nothing. Subclasses may override or extend this method.
fillActionBars
in class ActionGroup
actionBars
- the part's action barspublic void fillContextMenu(IMenuManager menu)
ActionGroup
ActionContext
.
The default implementation does nothing. Subclasses may override or extend this method.
fillContextMenu
in class ActionGroup
menu
- the context menu managerpublic void updateActionBars()
ActionGroup
ActionContext
.
The default implementation does nothing. Subclasses may override or extend this method.
updateActionBars
in class ActionGroup
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.