Author: chinmoy
Date: 2009-08-05 16:45:19 -0700 (Wed, 05 Aug 2009)
New Revision: 17703
Modified:
csplugins/trunk/soc/chinmoy/phylotree/src/org/cytoscape/phylotree/actions/PhyloTreeImportAction.java
Log:
Modified:
csplugins/trunk/soc/chinmoy/phylotree/src/org/cytoscape/phylotree/actions/PhyloTreeImportAction.java
===================================================================
---
csplugins/trunk/soc/chinmoy/phylotree/src/org/cytoscape/phylotree/actions/PhyloTreeImportAction.java
2009-08-05 23:31:02 UTC (rev 17702)
+++
csplugins/trunk/soc/chinmoy/phylotree/src/org/cytoscape/phylotree/actions/PhyloTreeImportAction.java
2009-08-05 23:45:19 UTC (rev 17703)
@@ -23,6 +23,10 @@
import org.forester.phylogeny.PhylogenyNode;
import org.forester.phylogeny.iterators.PhylogenyNodeIterator;
+import org.cytoscape.phylotree.visualstyle.LevelColor;
+import org.cytoscape.phylotree.visualstyle.PhyloVisualStyle;
+import org.cytoscape.phylotree.visualstyle.PhyloVisualStyleManager;
+
import java.io.File;
import java.io.IOException;
import java.util.List;
@@ -57,7 +61,8 @@
loadnetwork_phyloXML(pFile);
}
-
+ PhyloVisualStyleManager phyloVSMan = new
PhyloVisualStyleManager();
+ phyloVSMan.addVisualStyle(new LevelColor());
}
@@ -241,7 +246,7 @@
NodeData nodeData = node.getNodeData();
CyAttributes nodeAttributes = Cytoscape.getNodeAttributes();
-
+ nodeAttributes.setAttribute(nodeID, "Degree", 2);
// Check and assign node attributes
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---