org.oddjob.monitor.action
Class LoadAction
java.lang.Object
org.oddjob.monitor.model.JobAction
org.oddjob.monitor.action.LoadAction
- All Implemented Interfaces:
- PropertyChangeNotifier, ExplorerAction, SelectedContextAware
public class LoadAction
- extends JobAction
An action that loads Loadable
s.
- Author:
- Rob Gordon
Methods inherited from class org.oddjob.monitor.model.JobAction |
action, addPropertyChangeListener, checkPrepare, getExplorerContext, isEnabled, isPrepared, isVisible, prepare, removePropertyChangeListener, setEnabled, setSelectedContext, setVisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadAction
public LoadAction()
getName
public String getName()
- Description copied from interface:
ExplorerAction
- Get the name for the option. This will typically
be used as a menu item name.
- Returns:
- The name for the action.
getGroup
public String getGroup()
- Description copied from interface:
ExplorerAction
- Get the group name. This is which group in the Job
menu to place the action in.
- Returns:
- A name. Must not be null.
getMnemonicKey
public Integer getMnemonicKey()
- Description copied from interface:
ExplorerAction
- Get the Mnemonic Key for the action.
- Returns:
- The MnemonicKey. May be null.
getAcceleratorKey
public KeyStroke getAcceleratorKey()
- Description copied from interface:
ExplorerAction
- Get the Accelerator key for the action.
- Returns:
- The KeyStroke. May be null.
doPrepare
protected void doPrepare(ExplorerContext explorerContext)
- Overrides:
doPrepare
in class JobAction
doFree
protected void doFree(ExplorerContext explorerContext)
- Overrides:
doFree
in class JobAction
doAction
protected void doAction()
throws Exception
- Specified by:
doAction
in class JobAction
- Throws:
Exception