org.oddjob.monitor.action
Class DesignerAction

java.lang.Object
  extended by org.oddjob.monitor.model.JobAction
      extended by org.oddjob.monitor.model.JobFormAction
          extended by org.oddjob.monitor.action.DesignerAction
All Implemented Interfaces:
PropertyChangeNotifier, ExplorerAction, FormAction, SelectedContextAware

public class DesignerAction
extends JobFormAction
implements FormAction

The action that corresponds to the Oddjob Designer action.


Field Summary
 
Fields inherited from interface org.oddjob.monitor.actions.ExplorerAction
DESIGN_GROUP, ENABLED_PROPERTY, JOB_GROUP, PROPERTY_GROUP, VISIBLE_PROPERTY
 
Constructor Summary
DesignerAction()
           
 
Method Summary
protected  void doAction()
           
protected  Form doForm()
          Override this method to create the form.
protected  void doFree(ExplorerContext explorerContext)
           
protected  void doPrepare(ExplorerContext explorerContext)
           
 KeyStroke getAcceleratorKey()
          Get the Accelerator key for the action.
 String getGroup()
          Get the group name.
 Integer getMnemonicKey()
          Get the Mnemonic Key for the action.
 String getName()
          Get the name for the option.
 
Methods inherited from class org.oddjob.monitor.model.JobFormAction
form
 
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
 
Methods inherited from interface org.oddjob.monitor.actions.FormAction
form
 
Methods inherited from interface org.oddjob.monitor.actions.ExplorerAction
action, isEnabled, isVisible, prepare, setSelectedContext
 
Methods inherited from interface org.oddjob.framework.PropertyChangeNotifier
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

DesignerAction

public DesignerAction()
Method Detail

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.

Specified by:
getName in interface ExplorerAction
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.

Specified by:
getGroup in interface ExplorerAction
Returns:
A name. Must not be null.

getMnemonicKey

public Integer getMnemonicKey()
Description copied from interface: ExplorerAction
Get the Mnemonic Key for the action.

Specified by:
getMnemonicKey in interface ExplorerAction
Returns:
The MnemonicKey. May be null.

getAcceleratorKey

public KeyStroke getAcceleratorKey()
Description copied from interface: ExplorerAction
Get the Accelerator key for the action.

Specified by:
getAcceleratorKey in interface ExplorerAction
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

doForm

protected Form doForm()
Description copied from class: JobFormAction
Override this method to create the form.

Specified by:
doForm in class JobFormAction
Returns: