Author: apico
Date: 2011-05-07 15:22:02 -0700 (Sat, 07 May 2011)
New Revision: 24958

Modified:
   
csplugins/trunk/ucsf/scooter/metaNodePlugin2/src/metaNodePlugin2/commands/MetaNodeCommandHandler.java
Log:
appearance commands should use CHARTATTR, not ATTRIBUTE, for nodechart

Modified: 
csplugins/trunk/ucsf/scooter/metaNodePlugin2/src/metaNodePlugin2/commands/MetaNodeCommandHandler.java
===================================================================
--- 
csplugins/trunk/ucsf/scooter/metaNodePlugin2/src/metaNodePlugin2/commands/MetaNodeCommandHandler.java
       2011-05-06 22:41:20 UTC (rev 24957)
+++ 
csplugins/trunk/ucsf/scooter/metaNodePlugin2/src/metaNodePlugin2/commands/MetaNodeCommandHandler.java
       2011-05-07 22:22:02 UTC (rev 24958)
@@ -489,7 +489,7 @@
                                        throw new RuntimeException("metanode: 
nodeCharts type '"+type+"' is not provided by the nodeChart plugin");
 
                                // OK, now check our attribute
-                               String attribute = 
getAttribute((String)args.get(ATTRIBUTE));
+                               String attribute = 
getAttribute((String)args.get(CHARTATTR));
                                metaNode.setChartType(type);
                                metaNode.setNodeChartAttribute(attribute);
                        }
@@ -567,7 +567,7 @@
                                        throw new RuntimeException("metanode: 
nodeCharts type '"+type+"' is not provided by the nodeChart plugin");
 
                                // OK, now check our attribute
-                               String attribute = 
getAttribute((String)args.get(ATTRIBUTE));
+                               String attribute = 
getAttribute((String)args.get(CHARTATTR));
                                setTunable(props, "chartType", type);
                                setTunable(props, "nodeChartAttribute", 
attribute);
                        }

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