svn commit: r16399 - branches/work_issue1048_dthompson/src/argouml-app/src/org/argouml/uml/diagram/ui/FigEdgeModelElement.java

Dave Thompson <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: dthompson
Date: 2008-12-21 08:05:13-0800
New Revision: 16399

Modified:
   branches/work_issue1048_dthompson/src/argouml-app/src/org/argouml/uml/diagram/ui/FigEdgeModelElement.java

Log:
Removed indication of FigText bounds - no longer necessary because you can now double click anywhere on the FigTextGroup.

Modified: branches/work_issue1048_dthompson/src/argouml-app/src/org/argouml/uml/diagram/ui/FigEdgeModelElement.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/work_issue1048_dthompson/src/argouml-app/src/org/argouml/uml/diagram/ui/FigEdgeModelElement.java?view=diff&pathrev=16399&r1=16398&r2=16399
==============================================================================
--- branches/work_issue1048_dthompson/src/argouml-app/src/org/argouml/uml/diagram/ui/FigEdgeModelElement.java	(original)
+++ branches/work_issue1048_dthompson/src/argouml-app/src/org/argouml/uml/diagram/ui/FigEdgeModelElement.java	2008-12-21 08:05:13-0800
@@ -463,17 +463,7 @@
      * @param g the graphics
      */
     protected void indicateBounds(FigText f, Graphics g) {
-        if (f == null || isReadOnly()) {
-            return;
-        }
-        String text = f.getText();
-        if (text == null || text.length() == 0) {
-            Rectangle rect = f.getBounds();
-            Color c = g.getColor();
-            g.setColor(Globals.getPrefs().handleColorFor(f));
-            g.drawRect(rect.x, rect.y, rect.width, rect.height);
-            g.setColor(c); // TODO: Is this needed?
-        }
+        // No longer necessary, see issue 1048.
     }
     
     /**

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

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.