Author: ghuck
Date: 2010-06-28 14:39:35 -0700 (Mon, 28 Jun 2010)
New Revision: 20697
Modified:
coreplugins/branches/labelLayout/AutomaticLayout/src/csplugins/layout/LayoutLabelNodeImpl.java
Log:
Modified:
coreplugins/branches/labelLayout/AutomaticLayout/src/csplugins/layout/LayoutLabelNodeImpl.java
===================================================================
---
coreplugins/branches/labelLayout/AutomaticLayout/src/csplugins/layout/LayoutLabelNodeImpl.java
2010-06-28 21:18:15 UTC (rev 20696)
+++
coreplugins/branches/labelLayout/AutomaticLayout/src/csplugins/layout/LayoutLabelNodeImpl.java
2010-06-28 21:39:35 UTC (rev 20697)
@@ -54,15 +54,15 @@
lp = LabelPosition.parse(labelPosition);
}
- logger.info("Parent node: " + parentNodeView.getNode().getIdentifier());
- logger.info("Offset = " + lp.getOffsetX() + ", " + lp.getOffsetY() );
+// logger.info("Parent node: " + parentNodeView.getNode().getIdentifier());
+// logger.info("Offset = " + lp.getOffsetX() + ", " + lp.getOffsetY() );
this.setX(lp.getOffsetX() + parentNodeView.getXPosition());
this.setY(lp.getOffsetY() + parentNodeView.getYPosition());
this.neighbors = new ArrayList<LayoutNode>();
this.index = index;
- logger.info("Created " + this.getIdentifier() + "placed in: " +
this.getX() + ", " + this.getY() );
+ // logger.info("Created " + this.getIdentifier() + "placed in: " +
this.getX() + ", " + this.getY() );
}
/**
@@ -74,23 +74,22 @@
if (this.isLocked()) { // If node is locked, adjust X and Y to its
current location
- logger.info(this.toString() + " was locked");
+ // logger.info(this.toString() + " was locked");
this.setX(lp.getOffsetX() + parentNodeView.getXPosition());
this.setY(lp.getOffsetY() + parentNodeView.getYPosition());
} else { // If node is unlocked set labels offsets properly
- logger.info(this.toString() + " was unlocked");
+ // logger.info(this.toString() + " was unlocked");
lp.setOffsetX(this.getX() - parentNodeView.getXPosition());
lp.setOffsetY(this.getY() - parentNodeView.getYPosition());
nodeAtts.setAttribute(parentNodeView.getNode().getIdentifier(),
- "node.labelPosition",
lp.shortString());
+ "node.labelPosition", lp.shortString());
-
- logger.info("Label node was moved!");
+ // logger.info("Label node was moved!");
}
}
--
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.