org.argouml.uml.ui
Class ActionReopenProject
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.uml.ui.ActionReopenProject
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- public class ActionReopenProject
- extends UMLAction
Reopens a project with respect of the calling event handler - should be
used with menu item
- Since:
- 10. November 2003 (0.15.2)
- See Also:
- Serialized Form
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary |
(package private) java.lang.String |
_filename
|
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 |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
Performs the save and reload of a project. |
java.lang.String |
getFilename()
returns the filename for comparing during menu creation |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_filename
java.lang.String _filename
ActionReopenProject
public ActionReopenProject(java.lang.String filename)
- Constructor.
getFilename
public java.lang.String getFilename()
- returns the filename for comparing during menu creation
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Performs the save and reload of a project.
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Overrides:
actionPerformed
in class UMLAction
- Parameters:
e
- e should old the event and the eventsource. Event
source is the menu item, the text is used for opening the
project