svn commit: r13398 - 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-18 14:13:49-0700
New Revision: 13398
Modified:
branches/gsoc2007/b00__1/model-euml/src/org/argouml/model/euml/CommandStackImpl.java
Log:
Don't flush here because we don't know (out of scope) if it's an initialization command or a usual one
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=13398&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=13397&r2=13398
==============================================================================
--- 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-18 14:13:49-0700
@@ -34,11 +34,10 @@
private static CommandStackImpl instance;
- public static final String COMMAND_STACK_UPDATE_EVENT = "COMMAND_STACK_CHANGED"; //$NON-NLS-1$
+ public static final String COMMAND_STACK_UPDATE_EVENT = "MEMENTO_CHANGED"; //$NON-NLS-1$
private CommandStackImpl(EUMLModelImplementation modelImplementation) {
this.modelImplementation = modelImplementation;
- modelImplementation.getEditingDomain().getCommandStack().flush();
}
public static ModelMemento getInstance(EUMLModelImplementation modelImplementation) {