Author: mes
Date: 2009-12-10 17:02:31 -0800 (Thu, 10 Dec 2009)
New Revision: 18732
Modified:
cytoscape/trunk/lib/ding.jar
cytoscape/trunk/lib/giny.jar
cytoscape/trunk/src/cytoscape/visual/NodeShape.java
Log:
added new V node shape and in the process fixed a bug in default visual style
dialog
Modified: cytoscape/trunk/lib/ding.jar
===================================================================
(Binary files differ)
Modified: cytoscape/trunk/lib/giny.jar
===================================================================
(Binary files differ)
Modified: cytoscape/trunk/src/cytoscape/visual/NodeShape.java
===================================================================
--- cytoscape/trunk/src/cytoscape/visual/NodeShape.java 2009-12-11 00:58:47 UTC
(rev 18731)
+++ cytoscape/trunk/src/cytoscape/visual/NodeShape.java 2009-12-11 01:02:31 UTC
(rev 18732)
@@ -66,7 +66,9 @@
DIAMOND(NodeView.DIAMOND, "Diamond", true),
ELLIPSE(NodeView.ELLIPSE, "Ellipse", true),
HEXAGON(NodeView.HEXAGON, "Hexagon", true),
- OCTAGON(NodeView.OCTAGON, "Octagon", true);
+ OCTAGON(NodeView.OCTAGON, "Octagon", true),
+ VEE(NodeView.VEE, "V", true),
+ ;
private int ginyShape;
private String name;
@@ -204,7 +206,7 @@
Map<Object, Icon> nodeShapeIcons = new HashMap<Object, Icon>();
for (NodeShape shape : values()) {
- NodeIcon icon = new
NodeIcon(nodeShapes.get(shape.getGinyShape()),
+ NodeIcon icon = new NodeIcon(shape.getShape(),
VisualPropertyIcon.DEFAULT_ICON_SIZE,
VisualPropertyIcon.DEFAULT_ICON_SIZE, shape.getShapeName());
nodeShapeIcons.put(shape, icon);
--
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.