svn commit: r19390 - trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: bobtarling
Date: 2011-05-10 05:53:36-0700
New Revision: 19390
Modified:
trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java
Log:
Don't fire an event when a node is removed from the graphmodel.
The whole graphmodel isn't needed anyway and this causes a feedback problem when removinig a node that is represented more than once on the same diagram.
Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java?view=diff&pathrev=19390&r1=19389&r2=19390
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java (original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/UMLMutableGraphSupport.java 2011-05-10 05:53:36-0700
@@ -155,7 +155,7 @@
return;
}
nodes.remove(node);
- fireNodeRemoved(node);
+// fireNodeRemoved(node);
}
/**
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2733679
To unsubscribe from this discussion, e-mail: [[email protected]].