Package org.eclipse.graphiti.tb
Class ContextMenuEntry
java.lang.Object
org.eclipse.graphiti.tb.AbstractContextEntry
org.eclipse.graphiti.tb.ContextMenuEntry
- All Implemented Interfaces:
IContextEntry
,IContextMenuEntry
The Class ContextMenuEntry.
-
Constructor Summary
ConstructorDescriptionContextMenuEntry
(IFeature feature, IContext context) Creates a newContextMenuEntry
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(IContextMenuEntry entry) Adds the.Gets the children.boolean
Checks if is submenu.void
setSubmenu
(boolean submenu) Sets the submenu.Methods inherited from class org.eclipse.graphiti.tb.AbstractContextEntry
canExecute, execute, getContext, getDescription, getFeature, getIconId, getText, setDescription, setIconId, setText
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.graphiti.tb.IContextEntry
canExecute, execute, getContext, getDescription, getFeature, getIconId, getText, setDescription, setIconId, setText
-
Constructor Details
-
ContextMenuEntry
Creates a newContextMenuEntry
.- Parameters:
feature
- the featurecontext
- the context
-
-
Method Details
-
getChildren
Description copied from interface:IContextMenuEntry
Gets the children.- Specified by:
getChildren
in interfaceIContextMenuEntry
- Returns:
- the children
-
add
Description copied from interface:IContextMenuEntry
Adds the.- Specified by:
add
in interfaceIContextMenuEntry
- Parameters:
entry
- the entry
-