|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.argouml.model.ModelCommand
org.argouml.model.DummyModelCommand
public class DummyModelCommand
Dummy commands are created where we haven't yet designed the correct command for undoing an operation. It acts as a marker of work to be done to complete the Undo implementation. It also allows the save action to enable at the correct time. If there is no command generated and fired back to the main application then the save action will not enable.
| Constructor Summary | |
|---|---|
DummyModelCommand()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
execute()
Execute this command. |
boolean |
isRedoable()
Determine whether the command can be redone once undone. |
boolean |
isUndoable()
Determine whether the command can be undone. |
void |
undo()
Undo this command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DummyModelCommand()
| Method Detail |
|---|
public void undo()
ModelCommand
undo in class ModelCommandpublic java.lang.Object execute()
ModelCommand
execute in class ModelCommandpublic boolean isUndoable()
ModelCommand
isUndoable in class ModelCommandpublic boolean isRedoable()
ModelCommand
isRedoable in class ModelCommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Cookbook |