svn commit: r16379 - trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotype.java
Michiel van der Wulp <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mvw
Date: 2008-12-19 04:56:52-0800
New Revision: 16379
Modified:
trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotype.java
Log:
Remove the border around the stereotype that appears when dragging a class that has a stereotype onto the diagram.
Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotype.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotype.java?view=diff&pathrev=16379&r1=16378&r2=16379
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotype.java (original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigStereotype.java 2008-12-19 04:56:52-0800
@@ -101,7 +101,14 @@
setText();
}
}
-
+
+ /* Force the line-width to 0, since the FigGroup that contains the
+ * stereotype may want to show a border, but we don't. */
+ @Override
+ public void setLineWidth(int w) {
+ super.setLineWidth(0);
+ }
+
@Override
public void propertyChange(PropertyChangeEvent event) {
super.propertyChange(event);
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=987416
To unsubscribe from this discussion, e-mail: [[email protected]].