public class ModuleActions extends ActionManager
PROP_CONTEXT_ACTIONS
Constructor and Description |
---|
ModuleActions() |
Modifier and Type | Method and Description |
---|---|
static void |
add(ManifestSection.ActionSection a)
Adds new action to the list.
|
static void |
attachTo(Object m)
Attaches to processing of a module.
|
SystemAction[] |
getContextActions()
Array with all activated actions.
|
static ModuleActions |
getDefaultInstance() |
Collection<Action> |
getRunningActions()
Gets collection of currently running actions.
|
static void |
hideWaitCursor(Object key)
Resets cursor to default.
|
void |
invokeAction(Action a,
ActionEvent e)
Invokes action in a RequestPrecessor dedicated to performing
actions.
|
static void |
remove(ManifestSection.ActionSection a)
Removes new action from the list.
|
static void |
showWaitCursor(Object key)
Sets wait cursor visible on the window associated with an event, if any.
|
addPropertyChangeListener, firePropertyChange, getDefault, removePropertyChangeListener
public static ModuleActions getDefaultInstance()
public SystemAction[] getContextActions()
getContextActions
in class ActionManager
public void invokeAction(Action a, ActionEvent e)
invokeAction
in class ActionManager
public Collection<Action> getRunningActions()
public static void attachTo(Object m)
public static void add(ManifestSection.ActionSection a)
public static void remove(ManifestSection.ActionSection a)
public static void showWaitCursor(Object key)
key
- something to pass to ModuleActions.hideWaitCursor(java.lang.Object)
to turn it offpublic static void hideWaitCursor(Object key)
key
- the same key passed to ModuleActions.showWaitCursor(java.lang.Object)