frysk.gui.monitor.actions
Class ActionManager
java.lang.Object
java.util.Observable
frysk.gui.monitor.actions.ActionManager
public class ActionManager
- extends Observable
Only once instance. Keeps a list of available actions. Provides an interface
for instantiating those actions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
theManager
public static ActionManager theManager
procActions
private ObservableLinkedList procActions
taskActions
private ObservableLinkedList taskActions
genericActions
private ObservableLinkedList genericActions
ActionManager
public ActionManager()
initActionList
private void initActionList()
- Instantiates each one of the static task observers and adds it to the list.
getProcActions
public ObservableLinkedList getProcActions()
getTaskActions
public ObservableLinkedList getTaskActions()
getGenericActions
public ObservableLinkedList getGenericActions()
addProcActionPrototype
public void addProcActionPrototype(ProcAction prototype)
- Add a ProcAction to the list of available ProcAction prototypes.
- Parameters:
prototype
- the action to be added.
addTaskActionPrototype
public void addTaskActionPrototype(TaskAction prototype)
- Add a TaskAction to the list of available TaskAction prototypes.
- Parameters:
prototype
- the action to be added.
addGenericActionPrototype
public void addGenericActionPrototype(Action prototype)
- Add a generic Action to the list of available Action prototypes.
- Parameters:
prototype
- the action to be added.
removeGenericActionPrototype
public void removeGenericActionPrototype(GenericAction genericAction)
removeTaskActionPrototype
public void removeTaskActionPrototype(TaskAction taskAction)
removeProcActionPrototype
public void removeProcActionPrototype(ProcAction procAction)