|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.graphiti.tb.AbstractContextEntry
org.eclipse.graphiti.tb.ContextMenuEntry
public class ContextMenuEntry
The Class ContextMenuEntry.
| Field Summary | |
|---|---|
private ArrayList<IContextMenuEntry> |
children
|
private static IContextMenuEntry[] |
NO_CONTEXT_MENU_ENTRIES
|
private boolean |
submenu
|
| Constructor Summary | |
|---|---|
ContextMenuEntry(IFeature feature,
IContext context)
Creates a new ContextMenuEntry. |
|
| Method Summary | |
|---|---|
void |
add(IContextMenuEntry entry)
Adds the. |
IContextMenuEntry[] |
getChildren()
Gets the children. |
boolean |
isSubmenu()
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 |
| Field Detail |
|---|
private static final IContextMenuEntry[] NO_CONTEXT_MENU_ENTRIES
private ArrayList<IContextMenuEntry> children
private boolean submenu
| Constructor Detail |
|---|
public ContextMenuEntry(IFeature feature,
IContext context)
ContextMenuEntry.
feature - the featurecontext - the context| Method Detail |
|---|
public IContextMenuEntry[] getChildren()
IContextMenuEntry
getChildren in interface IContextMenuEntrypublic void add(IContextMenuEntry entry)
IContextMenuEntry
add in interface IContextMenuEntryentry - the entrypublic boolean isSubmenu()
IContextMenuEntry
isSubmenu in interface IContextMenuEntrypublic void setSubmenu(boolean submenu)
submenu - the new submenu
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||