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
Constructors Constructor Description ActionProvider()
The constructor creates the contribution items.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.HashMap<java.lang.String,java.lang.String>
createMap(java.lang.String param, java.lang.String value)
Creates 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
Method Detail
createMap
public static java.util.HashMap<java.lang.String,java.lang.String> createMap(java.lang.String param, java.lang.String value)
Creates a map for the parameter/value pair.
init
public void init(org.eclipse.ui.navigator.ICommonActionExtensionSite anExtensionSite)
Initializes the action provider and checks if contribution is to be made.- Overrides:
init
in classorg.eclipse.ui.internal.navigator.resources.actions.NewActionProvider
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