Author: mes
Date: 2012-01-09 15:50:08 -0800 (Mon, 09 Jan 2012)
New Revision: 27956
Modified:
core3/impl/trunk/editor-impl/src/main/java/org/cytoscape/editor/internal/gui/ShapePalette.java
Log:
changed println to logger
Modified:
core3/impl/trunk/editor-impl/src/main/java/org/cytoscape/editor/internal/gui/ShapePalette.java
===================================================================
---
core3/impl/trunk/editor-impl/src/main/java/org/cytoscape/editor/internal/gui/ShapePalette.java
2012-01-09 23:18:32 UTC (rev 27955)
+++
core3/impl/trunk/editor-impl/src/main/java/org/cytoscape/editor/internal/gui/ShapePalette.java
2012-01-09 23:50:08 UTC (rev 27956)
@@ -79,6 +79,9 @@
import org.cytoscape.editor.internal.GravityTracker;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
/**
*
* The <b>ShapePalette</b> class implements a palette from which the user
drags and drops shapes onto the canvas
@@ -96,6 +99,7 @@
public class ShapePalette extends JPanel {
private static final long serialVersionUID = -4018789452330887392L;
+ private static final Logger logger =
LoggerFactory.getLogger(ShapePalette.class);
/**
* mapping of shapes to their titles
@@ -225,7 +229,7 @@
BasicCytoShapeEntity shape = new
BasicCytoShapeEntity(app,cytoShape);
shapeMap.put(cytoShape.getTitle(), shape);
int index = gravityTracker.add( shape,
getDouble((String)(props.get("editorGravity"))) );
- System.out.println("adding " + cytoShape.getTitle() + " at
index: " + index + " with gravity " + props.get("editorGravity"));
+ logger.debug("adding " + cytoShape.getTitle() + " at index: " +
index + " with gravity " + props.get("editorGravity"));
shapePane.add( shape, index );
}
--
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.