wt.clients.workflow.definer
Class OpenAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bywt.clients.workflow.definer.ProcessEditorAction
          extended bywt.clients.workflow.definer.OpenAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

class OpenAction
extends ProcessEditorAction


Nested Class Summary
(package private)  class OpenAction.ActionThread
           
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
static String SHORTCUT
           
(package private)  ThreadGroup threadGroup
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
(package private) OpenAction()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
(package private)  Image getIcon()
           
(package private)  String getName()
           
(package private)  String getToolTip()
           
(package private)  boolean saveIfNeeded(boolean prompt)
          Saves the current process if it needs saving.
(package private)  void setIcon(String icon)
           
(package private)  void setName(String tag)
           
(package private)  void setToolTip(String tag)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHORTCUT

public static String SHORTCUT

threadGroup

ThreadGroup threadGroup
Constructor Detail

OpenAction

OpenAction()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener
Overrides:
actionPerformed in class ProcessEditorAction

setName

void setName(String tag)

getName

String getName()

setToolTip

void setToolTip(String tag)

getToolTip

String getToolTip()

setIcon

void setIcon(String icon)

getIcon

Image getIcon()

saveIfNeeded

boolean saveIfNeeded(boolean prompt)
               throws WTException
Saves the current process if it needs saving.

Parameters:
prompt - true if the user should be prompted to save.
Throws:
WTException