|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.argouml.kernel.AbstractCommand
public abstract class AbstractCommand
The base class for any commands that can be undone by ActionUndo.
| Constructor Summary | |
|---|---|
AbstractCommand()
|
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
execute()
Execute the command to redo an instruction. |
boolean |
isRedoable()
Returns true if the command can be redone once undone |
boolean |
isUndoable()
Returns true if the command can be undone. |
abstract void |
undo()
Perform undo an an undoable command that is in an undoable state |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCommand()
| Method Detail |
|---|
public abstract java.lang.Object execute()
Command
execute in interface Commandpublic abstract void undo()
Command
undo in interface Commandpublic boolean isUndoable()
Command
isUndoable in interface Commandpublic boolean isRedoable()
Command
isRedoable in interface Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |