Package org.csstudio.opibuilder.editor
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 Summary
Fields inherited from class org.eclipse.jface.action.MenuManager
MANAGER_KEY, visible
-
Constructor Summary
ConstructorDescriptionOPIEditorContextMenuProvider
(org.eclipse.gef.EditPartViewer viewer, org.eclipse.gef.ui.actions.ActionRegistry actionRegistry) Constructor. -
Method Summary
Methods inherited from class org.eclipse.gef.ContextMenuProvider
getViewer, menuAboutToShow, setViewer
Methods inherited from class org.eclipse.jface.action.MenuManager
addMenuListener, createContextMenu, createMenuBar, createMenuBar, dispose, doItemFill, fill, fill, fill, fill, findMenuUsingPath, findUsingPath, getId, getImageDescriptor, getMenu, getMenuItem, getMenuItemCount, getMenuItems, getMenuText, getOverrides, getParent, getRemoveAllWhenShown, isDynamic, isEnabled, isGroupMarker, isSeparator, isSubstituteFor, isVisible, markDirty, menuExist, removeMenuListener, saveWidgetState, setActionDefinitionId, setImageDescriptor, setMenuText, setOverrides, setParent, setRemoveAllWhenShown, setVisible, toString, update, update, update, update, updateAll
Methods inherited from class org.eclipse.jface.action.ContributionManager
add, add, allowItem, appendToGroup, appendToGroup, dumpStatistics, find, getItems, getSize, hasDynamicItems, indexOf, indexOf, insert, insertAfter, insertAfter, insertBefore, insertBefore, internalSetItems, isDirty, isEmpty, itemAdded, itemRemoved, prependToGroup, prependToGroup, remove, remove, removeAll, replaceItem, setDirty
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jface.action.IContributionItem
isDirty
Methods inherited from interface org.eclipse.jface.action.IContributionManager
add, add, appendToGroup, appendToGroup, find, getItems, insertAfter, insertAfter, insertBefore, insertBefore, isDirty, isEmpty, prependToGroup, prependToGroup, remove, remove, removeAll
-
Field Details
-
GROUP_GROUP
- See Also:
-
-
Constructor Details
-
OPIEditorContextMenuProvider
public OPIEditorContextMenuProvider(org.eclipse.gef.EditPartViewer viewer, org.eclipse.gef.ui.actions.ActionRegistry actionRegistry) Constructor.- Parameters:
viewer
- the graphical vieweractionRegistry
- the action registry
-
-
Method Details
-
buildContextMenu
- Specified by:
buildContextMenu
in classorg.eclipse.gef.ContextMenuProvider
-