svn commit: r13358 - branches/gsoc2007/b00__1/model-euml/src/org/argouml/model/euml/CommandStackImpl.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: b00__1
Date: 2007-08-15 01:17:57-0700
New Revision: 13358
Modified:
branches/gsoc2007/b00__1/model-euml/src/org/argouml/model/euml/CommandStackImpl.java
Log:
flush the command stack to use an empty user relevant stack (without the initialization commands in the stack)
Modified: branches/gsoc2007/b00__1/model-euml/src/org/argouml/model/euml/CommandStackImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/b00__1/model-euml/src/org/argouml/model/euml/CommandStackImpl.java?view=diff&rev=13358&p1=branches/gsoc2007/b00__1/model-euml/src/org/argouml/model/euml/CommandStackImpl.java&p2=branches/gsoc2007/b00__1/model-euml/src/org/argouml/model/euml/CommandStackImpl.java&r1=13357&r2=13358
==============================================================================
--- branches/gsoc2007/b00__1/model-euml/src/org/argouml/model/euml/CommandStackImpl.java (original)
+++ branches/gsoc2007/b00__1/model-euml/src/org/argouml/model/euml/CommandStackImpl.java 2007-08-15 01:17:57-0700
@@ -34,6 +34,7 @@
public CommandStackImpl(EUMLModelImplementation modelImplementation) {
this.modelImplementation = modelImplementation;
+ modelImplementation.getEditingDomain().getCommandStack().flush();
}
public boolean canRedo() {