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
    The constructor creates the contribution items.
  • Method Summary

    Modifier and Type
    Method
    Description
    createMap(String param, 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

    Methods inherited from class org.eclipse.ui.actions.ActionGroup

    fillActionBars, getContext, setContext, updateActionBars

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ActionProvider

      public ActionProvider()
      The constructor creates the contribution items.
  • Method Details

    • createMap

      public static HashMap<String,String> createMap(String param, 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 class org.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 class org.eclipse.ui.internal.navigator.resources.actions.NewActionProvider