Package com.iizigo.navigator
Class ActionProvider
java.lang.Object
org.eclipse.ui.actions.ActionGroup
org.eclipse.ui.navigator.CommonActionProvider
org.eclipse.ui.internal.navigator.resources.actions.NewActionProvider
com.iizigo.navigator.ActionProvider
- All Implemented Interfaces:
org.eclipse.ui.navigator.IMementoAware
public class ActionProvider extends org.eclipse.ui.internal.navigator.resources.actions.NewActionProvider
Replaces the NewActionProvider.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionCreates a map for the parameter/value pair.void
fillContextMenu
(org.eclipse.jface.action.IMenuManager menu) Fills the context menu by first removing the File and Folder items, then inserting ours.void
init
(org.eclipse.ui.navigator.ICommonActionExtensionSite anExtensionSite) Initializes the action provider and checks if contribution is to be made.Methods inherited from class org.eclipse.ui.internal.navigator.resources.actions.NewActionProvider
dispose
Methods inherited from class org.eclipse.ui.navigator.CommonActionProvider
filterAction, getActionSite, restoreState, saveState
Methods inherited from class org.eclipse.ui.actions.ActionGroup
fillActionBars, getContext, setContext, updateActionBars
Constructor Details
ActionProvider
public ActionProvider()The constructor creates the contribution items.
Method Details
createMap
Creates a map for the parameter/value pair.fillContextMenu
public void fillContextMenu(org.eclipse.jface.action.IMenuManager menu) Fills the context menu by first removing the File and Folder items, then inserting ours.- Overrides:
fillContextMenu
in classorg.eclipse.ui.internal.navigator.resources.actions.NewActionProvider