Author: kono
Date: 2010-01-13 15:26:32 -0800 (Wed, 13 Jan 2010)
New Revision: 18896

Modified:
   
csplugins/trunk/ucsd/ruschein/DenovoPGNetworkAlignment/src/org/cytoscape/DenovoPGNetworkAlignmentPlugin/VisualStyleBuilder.java
Log:
Type bug fixed.

Modified: 
csplugins/trunk/ucsd/ruschein/DenovoPGNetworkAlignment/src/org/cytoscape/DenovoPGNetworkAlignmentPlugin/VisualStyleBuilder.java
===================================================================
--- 
csplugins/trunk/ucsd/ruschein/DenovoPGNetworkAlignment/src/org/cytoscape/DenovoPGNetworkAlignmentPlugin/VisualStyleBuilder.java
     2010-01-13 23:14:06 UTC (rev 18895)
+++ 
csplugins/trunk/ucsd/ruschein/DenovoPGNetworkAlignment/src/org/cytoscape/DenovoPGNetworkAlignmentPlugin/VisualStyleBuilder.java
     2010-01-13 23:26:32 UTC (rev 18896)
@@ -70,10 +70,16 @@
 
                gac.setDefaultBackgroundColor(Color.white);
 
-               PassThroughMapping m = new PassThroughMapping("", 
AbstractCalculator.ID);
+               PassThroughMapping labelMapping = new PassThroughMapping("", 
AbstractCalculator.ID);
+               PassThroughMapping sizeMapping = new PassThroughMapping(65, 
NestedNetworkCreator.NODE_SIZE);
 
                final Calculator calc = new BasicCalculator(OVERVIEW_VS_NAME + 
"-"
-                               + "NodeLabelMapping", m, NODE_LABEL);
+                               + "NodeLabelMapping", labelMapping, NODE_LABEL);
+               
+               final Calculator sizeCalc = new 
BasicCalculator(OVERVIEW_VS_NAME + "-"
+                               + "NodeSizeMapping", sizeMapping, 
VisualPropertyType.NODE_SIZE);
+               nac.setCalculator(sizeCalc);
+               
                PassThroughMapping me = new PassThroughMapping("", 
"interaction");
 
                final Calculator calce = new BasicCalculator(OVERVIEW_VS_NAME + 
"-"

-- 
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.


Reply via email to