Author: bobtarling
Date: 2011-04-06 14:34:23-0700
New Revision: 19197
Modified:
trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java
Log:
Defect 6223 - listen for change to the upper value of multiplicity
Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java?view=diff&pathrev=19197&r1=19196&r2=19197
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java (original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigAssociation.java 2011-04-06 14:34:23-0700
@@ -709,8 +709,12 @@
class FigMultiplicity extends FigSingleLineTextWithNotation {
FigMultiplicity(Object owner, DiagramSettings settings) {
- super(owner, new Rectangle(X0, Y0, 90, 20), settings, false,
- "multiplicity");
+ super(owner, new Rectangle(X0, Y0, 90, 20), settings, false,
+ new String[] {"multiplicity", "upperValue"});
+ // Note that "multiplicity" is what is the notation is listening
+ // for in UML1.4 "uppervalue" are listened to in UML2. It is not
+ // currently why it is not required to register for "lowerValue"
+ // also.
setTextFilled(false);
setJustification(FigText.JUSTIFY_CENTER);
}
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2717477
To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.