public interface DeployActionsToolkit extends Toolkit
DeployAction
s that are available for the selected
elemnt(s) in the context.
These actions are used by the wizard step in the DeployActionsWizardState
to present a user with a list of options for the selected element.
Each DeployAction
can have one or more transitions. If no transitions
are explicitly defined, the command name of the DeployAction
is added
as the default transition. When the user selects the action, the state will
exit with the default transition. If a non-default transition is desired, the
additional transitions should first be defined in this toolkit, and then
the DeployActionsWizardState
state should be overridden to set the
appropriate transition when the action is chosen.
The FSM used by the DeployWizardBuilder
requires all possible transitions
to be defined before the wizard is constructed. This restriction may be eased
in the future.
Modifier and Type | Method and Description |
---|---|
boolean |
containsAction(java.lang.String cmdName) |
DeployAction |
getAction(java.lang.String cmdName) |
java.util.Map<java.lang.String,DeployAction> |
getAllActions() |
java.lang.Object[] |
getTransitions(java.lang.String cmdName) |
DeployAction |
putAction(java.lang.String cmdName,
DeployAction action) |
DeployAction |
putAction(java.lang.String cmdName,
DeployAction action,
java.lang.Object[] transitions) |
DeployAction |
removeAction(java.lang.String cmdName) |
DeployAction getAction(java.lang.String cmdName)
java.lang.Object[] getTransitions(java.lang.String cmdName)
DeployAction putAction(java.lang.String cmdName, DeployAction action)
DeployAction putAction(java.lang.String cmdName, DeployAction action, java.lang.Object[] transitions)
DeployAction removeAction(java.lang.String cmdName)
boolean containsAction(java.lang.String cmdName)
java.util.Map<java.lang.String,DeployAction> getAllActions()