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
ConstructorsConstructorDescriptionContextMenuEntry(IFeature feature, IContext context) Creates a newContextMenuEntry. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(IContextMenuEntry entry) Adds the.Gets the children.booleanChecks if is submenu.voidsetSubmenu(boolean submenu) Sets the submenu.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
-
ContextMenuEntry
Creates a newContextMenuEntry.- 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
-