org.argouml.uml.ui
Class ActionExit
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.uml.ui.ActionExit
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, CommandLineInterface, EventListener, Serializable
- public class ActionExit
- extends UMLAction
- implements CommandLineInterface
Action to exit ArgoUML.
- See Also:
- Serialized Form
Field Summary |
private boolean |
active
remember if this form is already active, so that it does
not popup twice. |
static ActionExit |
SINGLETON
The singleton. |
SINGLETON
public static final ActionExit SINGLETON
- The singleton.
active
private boolean active
- remember if this form is already active, so that it does
not popup twice.
ActionExit
public ActionExit()
- The constructor.
actionPerformed
public void actionPerformed(ActionEvent ae)
- Description copied from class:
UMLAction
- Perform the work the action is supposed to do.
This method needs to be overridden by all actions,
since it only shows a fake progressbar...
- Specified by:
actionPerformed
in interface ActionListener
- Overrides:
actionPerformed
in class UMLAction
- 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.