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.
theManager
public static ActionManager theManager
ActionManager
public ActionManager()
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)