svn commit: r17737 - trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigSingleLineText.java

Bob Tarling <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2010-01-05 03:48:14-0800
New Revision: 17737

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigSingleLineText.java

Log:
Make sure we can always see through text to the background color of the Fig the text is on

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigSingleLineText.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigSingleLineText.java?view=diff&pathrev=17737&r1=17736&r2=17737
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigSingleLineText.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/FigSingleLineText.java	2010-01-05 03:48:14-0800
@@ -67,12 +67,17 @@
 
     private void initialize() {
         setFillColor(FILL_COLOR); // in case someone turns it on
-        setFilled(false);
+        super.setFilled(false);
         setTabAction(FigText.END_EDITING);
         setReturnAction(FigText.END_EDITING);
         setLineWidth(0);
         setTextColor(TEXT_COLOR);
     }
+    
+    public void setFilled(boolean filled) {
+        // Do not allow fill to change. We should see through
+        // the text to the color of the main FIg background.
+    }
 
     /**
      * Construct text fig

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

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.