public interface Action
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_ACTION_NAME |
static java.lang.String |
KEY_ENABLED |
static java.lang.String |
KEY_NAME |
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.Object... args) |
ActionManager |
getActionManager() |
ActionMetadata |
getActionMetadata()
Returns the metadata of this action.
|
java.lang.String |
getActionName() |
GriffonController |
getController() |
java.lang.String |
getFullyQualifiedName()
Returns the fully qualified name of this action.
|
java.lang.String |
getName() |
java.lang.Object |
getToolkitAction() |
void |
initialize() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setName(java.lang.String name) |
static final java.lang.String KEY_ACTION_NAME
static final java.lang.String KEY_NAME
static final java.lang.String KEY_ENABLED
@Nonnull ActionMetadata getActionMetadata()
@Nonnull java.lang.String getActionName()
@Nonnull java.lang.String getFullyQualifiedName()
@Nullable java.lang.String getName()
void setName(@Nullable java.lang.String name)
boolean isEnabled()
void setEnabled(boolean enabled)
@Nonnull ActionManager getActionManager()
@Nonnull GriffonController getController()
@Nonnull java.lang.Object getToolkitAction()
void execute(java.lang.Object... args)
void initialize()