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
public class GoIntoActionProvider extends CommonActionProvider
Provides the Go Into action for theProjectExplorer- Since:
- 3.4
-
-
Constructor Summary
Constructors Constructor Description GoIntoActionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()This method is called by the user of an action group to signal that the group is no longer needed.voidfillActionBars(IActionBars actionBars)Adds the applicable actions to a part's action bars, including setting any global action handlers.voidfillContextMenu(IMenuManager menu)Adds the applicable actions to a context menu, based on the state of theActionContext.voidinit(ICommonActionExtensionSite anActionSite)Initialize the current ICommonActionProvider with the supplied information.voidupdateActionBars()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
-
-
-
-
Method Detail
-
init
public void init(ICommonActionExtensionSite anActionSite)
Description copied from class:CommonActionProviderInitialize the current ICommonActionProvider with the supplied information.
init() is guaranteed to be called before any other method of the ActionGroup super class.
- Overrides:
initin classCommonActionProvider- Parameters:
anActionSite- The configuration information for the instantiated Common Action Provider.
-
dispose
public void dispose()
Description copied from class:ActionGroupThis 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:
disposein classActionGroup
-
fillActionBars
public void fillActionBars(IActionBars actionBars)
Description copied from class:ActionGroupAdds 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:
fillActionBarsin classActionGroup- Parameters:
actionBars- the part's action bars
-
fillContextMenu
public void fillContextMenu(IMenuManager menu)
Description copied from class:ActionGroupAdds 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:
fillContextMenuin classActionGroup- Parameters:
menu- the context menu manager
-
updateActionBars
public void updateActionBars()
Description copied from class:ActionGroupUpdates 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:
updateActionBarsin classActionGroup
-
-