wt.clients.workflow.definer
Class ProcessEditorAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bywt.clients.workflow.definer.ProcessEditorAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable
Direct Known Subclasses:
BackAction, CopyAction, CutAction, DeleteAction, ExitAction, ExpandBlockAction, ForwardAction, NewAction, ObjectPropertiesAction, OpenAction, PasteAction, ProcessPropertiesAction, SaveAction, SaveAsAction, SquareLineAction, StraitLineAction, ToBlockAction, UsedByAction, UsesAction, ValidateAction, ValidateAllAction

class ProcessEditorAction
extends AbstractAction


Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private static ResourceBundle help_rb
           
private static ResourceBundle rb
           
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) ProcessEditorAction()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
private  String getHelpRBString(String tag)
           
(package private)  Image getIcon()
           
(package private)  String getName()
           
private  String getRBString(String tag)
           
(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

rb

private static ResourceBundle rb

help_rb

private static ResourceBundle help_rb

SHORTCUT

public static String SHORTCUT

threadGroup

ThreadGroup threadGroup
Constructor Detail

ProcessEditorAction

ProcessEditorAction()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

setName

void setName(String tag)

getName

String getName()

setToolTip

void setToolTip(String tag)

getToolTip

String getToolTip()

setIcon

void setIcon(String icon)

getIcon

Image getIcon()

getRBString

private String getRBString(String tag)

getHelpRBString

private String getHelpRBString(String tag)

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