|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.AbstractAction | +--org.argouml.uml.ui.UMLAction | +--org.argouml.uml.ui.ActionRevertToSaved
Action that reverts to the previously saved version of the project.
ActionOpenProject
,
Serialized FormField Summary | |
---|---|
static ActionRevertToSaved |
SINGLETON
Deprecated. by Linus Tolke as of 0.15.4. Create your own action every time. This will be removed. |
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 | |
---|---|
ActionRevertToSaved()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Performs the action. |
boolean |
shouldBeEnabled()
Overridden to return true only if project has pending changes. |
Methods inherited from class org.argouml.uml.ui.UMLAction |
---|
getMnemonic, getShortcut, getValue, isEnabled, markNeedsSave, putValue, 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 |
public static ActionRevertToSaved SINGLETON
Constructor Detail |
public ActionRevertToSaved()
Method Detail |
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class UMLAction
e
- an eventpublic boolean shouldBeEnabled()
shouldBeEnabled
in class UMLAction
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040306) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |