org.argouml.uml.ui
Class ActionSaveGraphics

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--org.argouml.uml.ui.UMLAction
              |
              +--org.argouml.uml.ui.ActionSaveGraphics
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class ActionSaveGraphics
extends UMLAction

Wraps a CmdSaveGIF or CmdSave(E)PS to allow selection of an output file.

See Also:
Serialized Form

Field Summary
protected static Category cat
           
static java.lang.String separator
           
static ActionSaveGraphics SINGLETON
           
 
Fields inherited from class org.argouml.uml.ui.UMLAction
HAS_ICON, NO_ICON
 
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
protected ActionSaveGraphics()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          Perform the work the action is supposed to do.
 boolean trySave(boolean overwrite)
           
 
Methods inherited from class org.argouml.uml.ui.UMLAction
getMnemonic, getShortcut, isEnabled, markNeedsSave, shouldBeEnabled, stripJunk, updateEnabled, updateEnabled
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

protected static Category cat

SINGLETON

public static ActionSaveGraphics SINGLETON

separator

public static final java.lang.String separator
See Also:
Constant Field Values
Constructor Detail

ActionSaveGraphics

protected ActionSaveGraphics()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Description copied from class: UMLAction
Perform the work the action is supposed to do.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class UMLAction

trySave

public boolean trySave(boolean overwrite)


ArgoUML © 1996-2003 (20040216)ArgoUML Project HomeArgoUML Cookbook