Class GoIntoActionProvider
java.lang.Object
org.eclipse.ui.actions.ActionGroup
org.eclipse.ui.navigator.CommonActionProvider
org.eclipse.ui.navigator.resources.GoIntoActionProvider
- All Implemented Interfaces:
IMementoAware
Provides the Go Into action for the
ProjectExplorer
- Since:
- 3.4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 theActionContext
.void
init
(ICommonActionExtensionSite anActionSite) Initialize the current ICommonActionProvider with the supplied information.void
Updates the state of the actions added to the action bars, including any global action handlers, based on the state of theActionContext
.Methods inherited from class org.eclipse.ui.navigator.CommonActionProvider
filterAction, getActionSite, restoreState, saveState
Methods inherited from class org.eclipse.ui.actions.ActionGroup
getContext, setContext
-
Constructor Details
-
GoIntoActionProvider
public GoIntoActionProvider()
-
-
Method Details
-
dispose
public void dispose()Description copied from class:ActionGroup
This method is called by the user of an action group to signal that the group is no longer needed. Subclasses typically implement this method to deregister any listeners or to free other resources.The default implementation calls
setContext(null)
. Subclasses may extend this method.- Overrides:
dispose
in classActionGroup
-
fillActionBars
Description copied from class:ActionGroup
Adds the applicable actions to a part's action bars, including setting any global action handlers.The default implementation does nothing. Subclasses may override or extend this method.
- Overrides:
fillActionBars
in classActionGroup
- Parameters:
actionBars
- the part's action bars
-
fillContextMenu
Description copied from class:ActionGroup
Adds the applicable actions to a context menu, based on the state of theActionContext
.The default implementation does nothing. Subclasses may override or extend this method.
- Overrides:
fillContextMenu
in classActionGroup
- Parameters:
menu
- the context menu manager
-
updateActionBars
public void updateActionBars()Description copied from class:ActionGroup
Updates the state of the actions added to the action bars, including any global action handlers, based on the state of theActionContext
.The default implementation does nothing. Subclasses may override or extend this method.
- Overrides:
updateActionBars
in classActionGroup