Package org.eclipse.graphiti.tb
Class DynamicContextMenuEntry
java.lang.Object
org.eclipse.graphiti.tb.AbstractContextEntry
org.eclipse.graphiti.tb.DynamicContextMenuEntry
- All Implemented Interfaces:
IContextEntry
,IContextMenuEntry
The Class DynamicContextMenuEntry.
-
Constructor Summary
ConstructorDescriptionDynamicContextMenuEntry
(IFeature feature, IContext context) Creates a newDynamicContextMenuEntry
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(IContextMenuEntry entry) Adds the.Gets the children.int
Gets the minimum submenu entries.boolean
Checks if is submenu.void
setMinimumSubmenuEntries
(int minimumSubmenuEntries) Sets the minimum submenu entries.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
-
DynamicContextMenuEntry
Creates a newDynamicContextMenuEntry
.- 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
-