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
ConstructorsConstructorDescriptionDynamicContextMenuEntry(IFeature feature, IContext context) Creates a newDynamicContextMenuEntry. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(IContextMenuEntry entry) Adds the.Gets the children.intGets the minimum submenu entries.booleanChecks if is submenu.voidsetMinimumSubmenuEntries(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, setTextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:IContextMenuEntryGets the children.- Specified by:
getChildrenin interfaceIContextMenuEntry- Returns:
- the children
-
add
Description copied from interface:IContextMenuEntryAdds the.- Specified by:
addin interfaceIContextMenuEntry- Parameters:
entry- the entry
-