org.argouml.ui.cmd
Class ActionExit
java.lang.Object
javax.swing.AbstractAction
org.tigris.gef.undo.UndoableAction
org.argouml.uml.ui.UMLAction
org.argouml.ui.cmd.ActionExit
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, CommandLineInterface, EventListener, Serializable
- public class ActionExit
- extends UMLAction
- implements CommandLineInterface
Action to exit ArgoUML.
If the project is dirty, then ask the user if he wants to save first.
- See Also:
- Serialized Form
|
Field Summary |
private static boolean |
active
Remember if this form is already active, so that it does
not popup twice. |
private static long |
serialVersionUID
The UID. |
active
private static boolean active
- Remember if this form is already active, so that it does
not popup twice.
serialVersionUID
private static final long serialVersionUID
- The UID.
- See Also:
- Constant Field Values
ActionExit
public ActionExit()
- The constructor.
actionPerformed
public void actionPerformed(ActionEvent ae)
- See ProjectBrowser.askConfirmationAndSave() for a very similar procedure!
- Specified by:
actionPerformed in interface ActionListener
- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
doCommand
public boolean doCommand(String argument)
- Execute this action from the command line.
- Specified by:
doCommand in interface CommandLineInterface
- Parameters:
argument - is not used.
- Returns:
- true if it is OK.
- See Also:
CommandLineInterface.doCommand(java.lang.String)