|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.action.ContributionManager
org.eclipse.jface.action.MenuManager
org.eclipse.gef.ContextMenuProvider
roneditor.objectnetview.actions.ObjectNetContextMenuProvider
public class ObjectNetContextMenuProvider
Context menu provider class.
Field Summary | |
---|---|
private org.eclipse.gef.ui.actions.ActionRegistry |
actionRegistry
the action registry |
Constructor Summary | |
---|---|
ObjectNetContextMenuProvider(org.eclipse.gef.EditPartViewer viewer,
org.eclipse.gef.ui.actions.ActionRegistry actionRegistry)
Creates a new WorkflowEditorContextMenuProvider instance. |
Method Summary | |
---|---|
private void |
appendActionToAddGroup(org.eclipse.jface.action.IMenuManager menu,
java.lang.String actionId)
Appends the specified action to the specified menu group |
private void |
appendActionToEditGroup(org.eclipse.jface.action.IMenuManager menu,
java.lang.String actionId)
Appends the specified action to the specified menu group |
private void |
appendActionToMenu(org.eclipse.jface.action.IMenuManager menu,
java.lang.String actionId,
java.lang.String menuGroup)
Appends the specified action to the specified menu group |
private void |
appendActionToUndoGroup(org.eclipse.jface.action.IMenuManager menu,
java.lang.String actionId)
Appends the specified action to the specified menu group |
void |
buildContextMenu(org.eclipse.jface.action.IMenuManager menuManager)
|
protected org.eclipse.gef.ui.actions.ActionRegistry |
getActionRegistry()
Returns the action registry. |
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, fill, fill, fill, fill, findMenuUsingPath, findUsingPath, getId, getMenu, getMenuText, getOverrides, getParent, getRemoveAllWhenShown, isDynamic, isEnabled, isGroupMarker, isSeparator, isSubstituteFor, isVisible, markDirty, removeMenuListener, saveWidgetState, setOverrides, setParent, setRemoveAllWhenShown, setVisible, update, update, update, update, updateAll |
Methods inherited from class org.eclipse.jface.action.ContributionManager |
---|
add, add, allowItem, appendToGroup, appendToGroup, dumpStatistics, find, getItems, 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, toString, wait, wait, wait |
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 |
Methods inherited from interface org.eclipse.jface.action.IContributionItem |
---|
isDirty |
Field Detail |
---|
private final org.eclipse.gef.ui.actions.ActionRegistry actionRegistry
Constructor Detail |
---|
public ObjectNetContextMenuProvider(org.eclipse.gef.EditPartViewer viewer, org.eclipse.gef.ui.actions.ActionRegistry actionRegistry)
viewer
- Method Detail |
---|
public void buildContextMenu(org.eclipse.jface.action.IMenuManager menuManager)
buildContextMenu
in class org.eclipse.gef.ContextMenuProvider
protected org.eclipse.gef.ui.actions.ActionRegistry getActionRegistry()
private void appendActionToMenu(org.eclipse.jface.action.IMenuManager menu, java.lang.String actionId, java.lang.String menuGroup)
actionId
- menuGroup
- private void appendActionToUndoGroup(org.eclipse.jface.action.IMenuManager menu, java.lang.String actionId)
actionId
- menu
- private void appendActionToEditGroup(org.eclipse.jface.action.IMenuManager menu, java.lang.String actionId)
actionId
- menu
- private void appendActionToAddGroup(org.eclipse.jface.action.IMenuManager menu, java.lang.String actionId)
actionId
- menu
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |