|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.argouml.uml.ui.ActionFileOperations
org.argouml.uml.ui.ActionReopenProject
Reopens a project with respect of the calling event handler - should be used with menu item.
Nested Class Summary |
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary | |
private String |
filename
|
private static Logger |
LOG
|
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(String theFilename)
Constructor. |
Method Summary | |
void |
actionPerformed(ActionEvent e)
Performs the save and reload of a project. |
String |
getFilename()
Get the filename for comparing during menu creation. |
Methods inherited from class org.argouml.uml.ui.ActionFileOperations |
askConfirmationAndSave, loadProject |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final Logger LOG
private String filename
Constructor Detail |
public ActionReopenProject(String theFilename)
theFilename
- The name of the file.Method Detail |
public String getFilename()
public void actionPerformed(ActionEvent e)
e
- e should old the event and the eventsource. Event
source is the menu item, the text is used for opening the
project
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |