svn commit: r16526 - trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/CompartmentFigText.java

Bob Tarling <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2009-01-05 14:11:47-0800
New Revision: 16526

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

Log:
Remove reshaping drag handles from FigText selection box

Modified: trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/CompartmentFigText.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/CompartmentFigText.java?view=diff&pathrev=16526&r1=16525&r2=16526
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/CompartmentFigText.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/diagram/ui/CompartmentFigText.java	2009-01-05 14:11:47-0800
@@ -331,36 +331,8 @@
             final int h = getHeight();
             g.setColor(Globals.getPrefs().handleColorFor(this));
             
-            g.drawRect(
-                    x - 1,
-                    y - 1,
-                    w + 2,
-                    h + 2);
-            g.drawRect(
-                    x - 1,
-                    y - 1,
-                    w + 2,
-                    h + 2);
-            g.fillRect(
-                x - Selection.HAND_SIZE / 2,
-                y - Selection.HAND_SIZE / 2,
-                Selection.HAND_SIZE,
-                Selection.HAND_SIZE);
-            g.fillRect(
-                x + w - Selection.HAND_SIZE / 2,
-                y - Selection.HAND_SIZE / 2,
-                Selection.HAND_SIZE,
-                Selection.HAND_SIZE);
-            g.fillRect(
-                x - Selection.HAND_SIZE / 2,
-                y + h - Selection.HAND_SIZE / 2,
-                Selection.HAND_SIZE,
-                Selection.HAND_SIZE);
-            g.fillRect(
-                x + w - Selection.HAND_SIZE / 2,
-                y + h - Selection.HAND_SIZE / 2,
-                Selection.HAND_SIZE,
-                Selection.HAND_SIZE);
+            g.drawRect(x - 1, y - 1, w + 2, h + 2);
+            g.drawRect(x, y, w, h);
         }
     }

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

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.