Author: mes
Date: 2011-01-24 14:06:32 -0800 (Mon, 24 Jan 2011)
New Revision: 23581
Modified:
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DNodeView.java
Log:
cleaned up printlns
Modified:
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
===================================================================
---
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
2011-01-24 22:03:35 UTC (rev 23580)
+++
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DGraphView.java
2011-01-24 22:06:32 UTC (rev 23581)
@@ -711,8 +711,7 @@
m_backgroundCanvas.setBackground((Color) paint);
m_contentChanged = true;
} else {
- System.out
-
.println("DGraphView.setBackgroundPaint(), Color not found!");
+ logger.debug("DGraphView.setBackgroundPaint(),
Color not found!");
}
}
}
@@ -1116,7 +1115,6 @@
if (calledFromGetSnapshot) {
calledFromGetSnapshot = false;
m_networkCanvas.m_scaleFactor = 1.0;
- //System.out.println("in fitContent(),
m_networkCanvas.m_scaleFactor = " + m_networkCanvas.m_scaleFactor);
}
m_viewportChanged = true;
}
@@ -2396,7 +2394,7 @@
}
if (shrink < 0 || shrink > 1.0) {
-
System.out.println("DGraphView.createImage(width,height,shrink) shrink is
invalid: "
+
logger.debug("DGraphView.createImage(width,height,shrink) shrink is invalid: "
+ shrink + " using default of 1.0");
shrink = 1.0;
}
@@ -2538,7 +2536,7 @@
if (zoom > 0)
return zoom;
- System.out.println("invalid zoom: " + zoom + " using orig: "
+ orig);
+ logger.debug("invalid zoom: " + zoom + " using orig: " +
orig);
return orig;
}
@@ -2902,7 +2900,7 @@
final byte[] retval = baos.toByteArray();
return retval;
} catch (final IOException e) {
- System.err.println("Failed to convert a BufferedImage
to a PNG! (" + e + ")");
+ logger.warn("Failed to convert a BufferedImage to a
PNG! (" + e + ")");
return null;
}
}
@@ -2916,7 +2914,7 @@
final BufferedImage retval =
(BufferedImage)ImageIO.read(is);
return retval;
} catch (final IOException e) {
- System.err.println("Failed to convert a PNG to a
BufferedImage! (" + e + ")");
+ logger.warn("Failed to convert a PNG to a
BufferedImage! (" + e + ")");
return null;
}
}
Modified:
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DNodeView.java
===================================================================
---
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DNodeView.java
2011-01-24 22:03:35 UTC (rev 23580)
+++
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DNodeView.java
2011-01-24 22:06:32 UTC (rev 23581)
@@ -1683,7 +1683,7 @@
this.cgMap.put(parent, currentCG);
//this.graphicsPositions.put(parent, position);
- System.out.println("Position applied of CG = " +
vp.getDisplayName() + " <--- " + parent.getDisplayName());
+ //System.out.println("Position applied of CG = " +
vp.getDisplayName() + " <--- " + parent.getDisplayName());
}
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.