Class OPIEditorContextMenuProvider

java.lang.Object
org.eclipse.jface.action.ContributionManager
org.eclipse.jface.action.MenuManager
org.eclipse.gef.ContextMenuProvider
org.csstudio.opibuilder.editor.OPIEditorContextMenuProvider
All Implemented Interfaces:
IContributionItem, IContributionManager, IMenuListener, IMenuManager

public class OPIEditorContextMenuProvider extends org.eclipse.gef.ContextMenuProvider
ContextMenuProvider implementation for the OPI editor.
  • Field Details

  • Constructor Details

    • OPIEditorContextMenuProvider

      public OPIEditorContextMenuProvider(org.eclipse.gef.EditPartViewer viewer, org.eclipse.gef.ui.actions.ActionRegistry actionRegistry)
      Constructor.
      Parameters:
      viewer - the graphical viewer
      actionRegistry - the action registry
  • Method Details

    • buildContextMenu

      public void buildContextMenu(IMenuManager menu)
      Specified by:
      buildContextMenu in class org.eclipse.gef.ContextMenuProvider