public interface IActionHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_ACTION
Name of the action element in the xml file
|
static String |
ELEMENT_ACTIONS
Name of the actions element in the xml file
|
static String |
ELEMENT_CONTAINER
Name of the group element in the xml file
|
static String |
ELEMENT_SEPARATOR
Name of the separator element in the xml file
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(ExtendedAction action)
Adds the given action to the action handler.
|
ExtendedAction |
getAction(int instance,
String id)
Returns an action from the action handler.
|
ExtendedAction |
getAction(String id)
Returns the template action with the given id.
|
void |
registerActionPostProcessor(int instance,
IActionPostProcessor postProcessor)
Registers an action post processor to the specified instance.
|
void |
removeActions(int instance)
Removes the actions that were created for the specified instance.
|
static final String ELEMENT_ACTIONS
static final String ELEMENT_ACTION
static final String ELEMENT_SEPARATOR
static final String ELEMENT_CONTAINER
void removeActions(int instance)
instance - the instance numberExtendedAction getAction(int instance, String id)
instance - the instance that want to have the actionid - the id of the actionExtendedAction getAction(String id)
id - the id of the action that should be returnedvoid addAction(ExtendedAction action)
action - the action to add to the action handlervoid registerActionPostProcessor(int instance,
IActionPostProcessor postProcessor)
instance - the instance for which the post processor should be usedpostProcessor - the post processor that should be called