|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.argouml.uml.ui.ActionFileOperations
org.argouml.uml.ui.ActionSaveProject
org.argouml.uml.ui.ActionSaveProjectAs
Action to save project under name.
Nested Class Summary |
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary | |
private static Logger |
LOG
logger |
static ActionSaveProjectAs |
SINGLETON
The singleton. |
Fields inherited from class org.argouml.uml.ui.ActionSaveProject |
|
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 |
ActionSaveProjectAs()
The constructor. |
Method Summary | |
void |
actionPerformed(ActionEvent e)
|
protected File |
getNewFile()
|
boolean |
trySave(boolean overwrite)
Try to save the project. |
Methods inherited from class org.argouml.uml.ui.ActionSaveProject |
getInstance, trySave |
Methods inherited from class org.argouml.uml.ui.ActionFileOperations |
askConfirmationAndSave, loadProject |
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 |
private static final Logger LOG
public static final ActionSaveProjectAs SINGLETON
Constructor Detail |
protected ActionSaveProjectAs()
Method Detail |
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
actionPerformed
in class ActionSaveProject
ActionListener.actionPerformed(java.awt.event.ActionEvent)
public boolean trySave(boolean overwrite)
ActionSaveProject
trySave
in class ActionSaveProject
overwrite
- if true, then we overwrite without asking
ActionSaveProject.trySave(boolean)
protected File getNewFile()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |