public enum ActionLocation extends Enum<ActionLocation>
Enum Constant and Description |
---|
contextualpopup
the explorers and diagram contextual popup menus
|
diagramtoolbar
the diagram toolbar
|
menu
the application menu
|
property
the property view toolbar
|
toolbar
the application toolbar
|
Modifier and Type | Method and Description |
---|---|
static ActionLocation |
getValue(String location) |
static ActionLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionLocation menu
public static final ActionLocation toolbar
public static final ActionLocation property
public static final ActionLocation contextualpopup
public static final ActionLocation diagramtoolbar
public static ActionLocation[] values()
for (ActionLocation c : ActionLocation.values()) System.out.println(c);
public static ActionLocation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ActionLocation getValue(String location)