frysk.gui.monitor
Class ActionPool

java.lang.Object
  extended by frysk.gui.monitor.ActionPool

public class ActionPool
extends Object

Singleton; only one action pool. Flyweight; instanciate Action objects here, then just call execute() from anywhere in the GUI. ActionPool Provies a place for extendors to add their actions. Provies a place for menus to grab their dynamically extendable contents. Avoids rewriting of code, and copying of objects (Ex, a MenuItem, ToolBar button, maybe even CLI, all call execute on the same Action object)


Field Summary
 ObservableLinkedList processActions
          Actions that can be perfomred on a process should be appened here
 ObservableLinkedList processObservers
          Observers that can be added to a process
static ActionPool theActionPool
           
 ObservableLinkedList threadActions
          Actions that can be perfomred on a thread should be appened here
 ObservableLinkedList threadObservers
          Observers that can be added to a thread
 
Constructor Summary
ActionPool()
          }
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theActionPool

public static ActionPool theActionPool

processActions

public ObservableLinkedList processActions
Actions that can be perfomred on a process should be appened here


threadActions

public ObservableLinkedList threadActions
Actions that can be perfomred on a thread should be appened here


processObservers

public ObservableLinkedList processObservers
Observers that can be added to a process


threadObservers

public ObservableLinkedList threadObservers
Observers that can be added to a thread

Constructor Detail

ActionPool

public ActionPool()
}