org.argouml.uml.ui
Class ActionSaveProjectAs
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.ActionFileOperations
org.argouml.uml.ui.ActionSaveProject
org.argouml.uml.ui.ActionSaveProjectAs
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class ActionSaveProjectAs
- extends ActionSaveProject
Action to save project under name.
- See Also:
- Serialized Form
LOG
private static final Logger LOG
- logger
SINGLETON
public static final ActionSaveProjectAs SINGLETON
- The singleton.
ActionSaveProjectAs
protected ActionSaveProjectAs()
- The constructor.
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed in interface ActionListener- Overrides:
actionPerformed in class ActionSaveProject
- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
trySave
public boolean trySave(boolean overwrite)
- Description copied from class:
ActionSaveProject
- Try to save the project.
- Overrides:
trySave in class ActionSaveProject
- Parameters:
overwrite - if true, then we overwrite without asking
- Returns:
- true if successful
- See Also:
ActionSaveProject.trySave(boolean)
getNewFile
protected File getNewFile()
- Returns:
- the File to save to