org.argouml.ui.cmd
Class ActionExit
java.lang.Object
javax.swing.AbstractAction
org.argouml.ui.cmd.ActionExit
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, CommandLineInterface, EventListener, Serializable
- public class ActionExit
- extends AbstractAction
- 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
ActionExit
public ActionExit()
- The constructor.
actionPerformed
public void actionPerformed(ActionEvent ae)
- Specified by:
actionPerformed in interface ActionListener
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)