Author: linus
Date: 2010-04-17 09:33:59-0700
New Revision: 18279

Modified:
   branches/BRANCH_0_30_x/   (props changed)
   branches/BRANCH_0_30_x/src/argouml-app/   (props changed)
   branches/BRANCH_0_30_x/src/argouml-app/tests/org/argouml/profile/   (props 
changed)
   
branches/BRANCH_0_30_x/src/argouml-core-model-euml/src/org/argouml/model/euml/CoreHelperEUMLImpl.java

Log:
Merging rev 18237 from trunk for issue 6056.

Modified: 
branches/BRANCH_0_30_x/src/argouml-core-model-euml/src/org/argouml/model/euml/CoreHelperEUMLImpl.java
Url: 
http://argouml.tigris.org/source/browse/argouml/branches/BRANCH_0_30_x/src/argouml-core-model-euml/src/org/argouml/model/euml/CoreHelperEUMLImpl.java?view=diff&pathrev=18279&r1=18278&r2=18279
==============================================================================
--- 
branches/BRANCH_0_30_x/src/argouml-core-model-euml/src/org/argouml/model/euml/CoreHelperEUMLImpl.java
       (original)
+++ 
branches/BRANCH_0_30_x/src/argouml-core-model-euml/src/org/argouml/model/euml/CoreHelperEUMLImpl.java
       2010-04-17 09:33:59-0700
@@ -1476,6 +1476,14 @@
             final int lower_ = lower, upper_ = upper;
             RunnableClass run = new RunnableClass() {
                 public void run() {
+                    // TODO: We currently delete the old values before setting
+                    // to something new. This is a workaround to issue 6056.
+                    // We should consider giving an API to get the lower and
+                    // upper values so that controls can listen directly to
+                    // those rather than the element containing those values.
+                    ((MultiplicityElement) handle).setLowerValue(null);
+                    ((MultiplicityElement) handle).setUpperValue(null);
+                    //
                     ((MultiplicityElement) handle).setLower(lower_);
                     ((MultiplicityElement) handle).setUpper(upper_);
                 }

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2586859

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to