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

Field Summary
(package private)  java.lang.String _filename
           
 
Fields inherited from class org.argouml.uml.ui.UMLAction
cat, HAS_ICON, NO_ICON
 
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
 
Constructor Summary
ActionReopenProject(java.lang.String filename)
          Constructor.
 
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 org.argouml.uml.ui.UMLAction
getMnemonic, getShortcut, getValue, isEnabled, markNeedsSave, putValue, shouldBeEnabled, stripJunk, updateEnabled, updateEnabled
 
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
 

Field Detail

_filename

java.lang.String _filename
Constructor Detail

ActionReopenProject

public ActionReopenProject(java.lang.String filename)
Constructor.

Method Detail

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


ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook