svn commit: r17605 - trunk/modules/dev/src/org/argouml/dev/figinspector/FigInspectorPanel.java
Michiel van der Wulp <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mvw
Date: 2009-12-04 05:14:16-0800
New Revision: 17605
Modified:
trunk/modules/dev/src/org/argouml/dev/figinspector/FigInspectorPanel.java
Log:
Make the structure of a Fig better visible.
Modified: trunk/modules/dev/src/org/argouml/dev/figinspector/FigInspectorPanel.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/modules/dev/src/org/argouml/dev/figinspector/FigInspectorPanel.java?view=diff&pathrev=17605&r1=17604&r2=17605
==============================================================================
--- trunk/modules/dev/src/org/argouml/dev/figinspector/FigInspectorPanel.java (original)
+++ trunk/modules/dev/src/org/argouml/dev/figinspector/FigInspectorPanel.java 2009-12-04 05:14:16-0800
@@ -157,13 +157,19 @@
String className = f.getClass().getName();
StringBuffer descr = new StringBuffer(
className.substring(className.lastIndexOf(".") + 1));
-// descr.append(" paints=").append(f.getPaintCount());
-// descr.append(" damages=").append(f.getDamageCount());
+// descr.append(" - paints=").append(f.getPaintCount());
+// descr.append(" - damages=").append(f.getDamageCount());
descr.append(
- " bounds=[" + f.getX() + "," + f.getY() + "," + f.getWidth()
+ " - bounds=[" + f.getX() + "," + f.getY() + "," + f.getWidth()
+ "," + f.getHeight() + "]");
+ if (!f.isVisible()) {
+ descr.append(" - INVISIBLE");
+ }
+ if (f.isFilled()) {
+ descr.append(" - FILLED");
+ }
descr.append(
- " fill=[" + f.getFillColor().getRed() + ","
+ " - fill=[" + f.getFillColor().getRed() + ","
+ f.getFillColor().getGreen() + ","
+ f.getFillColor().getBlue() + "]");
if (f.getOwner() != null) {
@@ -172,12 +178,6 @@
if (f instanceof FigText) {
descr.append(" \"").append(((FigText) f).getText()).append("\"");
}
- if (!f.isVisible()) {
- descr.append(" - INVISIBLE");
- }
- if (f.isFilled()) {
- descr.append(" - FILLED");
- }
descr.append(" - lay=").append(toString(f.getLayer()));
descr.append(" - grp=").append(toString(f.getGroup()));
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2427016
To unsubscribe from this discussion, e-mail: [[email protected]].