org.argouml.uml.ui
Class ActionOpenProject

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--org.argouml.uml.ui.UMLAction
              |
              +--org.argouml.uml.ui.ActionOpenProject
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class ActionOpenProject
extends UMLAction

Action that loads the project. This will throw away the project that we were working with up to this point so some extra caution.

See Also:
ActionSaveProject, Serialized Form

Field Summary
protected static org.apache.log4j.Category cat
           
static java.lang.String separator
           
static ActionOpenProject SINGLETON
           
 
Fields inherited from class org.argouml.uml.ui.UMLAction
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
ActionOpenProject()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Performs the action.
 
Methods inherited from class org.argouml.uml.ui.UMLAction
getMnemonic, getShortcut, isEnabled, markNeedsSave, shouldBeEnabled, stripJunk, updateEnabled, updateEnabled
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

protected static org.apache.log4j.Category cat

SINGLETON

public static ActionOpenProject SINGLETON

separator

public static final java.lang.String separator
Constructor Detail

ActionOpenProject

public ActionOpenProject()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Performs the action.
Overrides:
actionPerformed in class UMLAction
Parameters:
e - an event


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook