|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opa.action.OPADefaultActionManager
This class provides default implementation of the OPAActionManager
interface.
Constructor Summary | |
OPADefaultActionManager()
Creates a new instance of OPADefaultActionManager |
Method Summary | |
void |
doAction(OPAAction action)
Performs a context-sensitive action based on the focussed GUI component. |
void |
load()
Loads the OPAManager. |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Listens for changes in GUI focus. |
void |
registerAction(OPAAction action)
Used by OPA modules to register an OPAAction with OPA. |
void |
registerBundle(OPAActionBundle bundle)
This accepts an OPAActionBundle and registers all the OPAActions it contains. |
void |
start()
Starts the OPAXXXManager service. |
void |
stop()
Stops the OPAXXXManager service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OPADefaultActionManager()
Method Detail |
public void doAction(OPAAction action)
doAction
in interface OPAActionManager
action
- The OPAAction used as the key to choose which OPACookies OPACommand to execute.public void registerAction(OPAAction action)
registerBundle
should
be used instead.
registerAction
in interface OPAActionManager
action
- The OPAAction to add.public void start()
OPAManager
start
in interface OPAManager
public void stop()
OPAManager
stop
in interface OPAManager
public void registerBundle(OPAActionBundle bundle)
OPAActionManager
registerBundle
in interface OPAActionManager
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
evt
- A PropertyChangeEvent from the JVM KeyboardFocuManagerpublic void load()
OPAManager
load
in interface OPAManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |