Author: scooter
Date: 2011-08-29 11:23:45 -0700 (Mon, 29 Aug 2011)
New Revision: 26646
Modified:
csplugins/trunk/ucsf/scooter/metaNodePlugin2/src/metaNodePlugin2/ui/MetanodeSettingsDialog.java
Log:
Change option order to improve usability
Modified:
csplugins/trunk/ucsf/scooter/metaNodePlugin2/src/metaNodePlugin2/ui/MetanodeSettingsDialog.java
===================================================================
---
csplugins/trunk/ucsf/scooter/metaNodePlugin2/src/metaNodePlugin2/ui/MetanodeSettingsDialog.java
2011-08-29 01:08:58 UTC (rev 26645)
+++
csplugins/trunk/ucsf/scooter/metaNodePlugin2/src/metaNodePlugin2/ui/MetanodeSettingsDialog.java
2011-08-29 18:23:45 UTC (rev 26646)
@@ -292,37 +292,7 @@
metanodeProperties.add(t);
}
- // If we have nodeCharts, provide chart options for aggregated
attributes
- {
- Tunable t = new Tunable("nodeChartsGroup", "Node Chart
Options",
- Tunable.GROUP, new Integer(2),
- new Boolean(true), null,
Tunable.COLLAPSABLE);
- metanodeProperties.add(t);
- t.setImmutable(true);
- nodeChartEnablers.add(t);
-
- {
- // Get the attribute to map
- nodeChartAttrList = new
Tunable("nodeChartAttribute", "Attribute to use for node chart",
- Tunable.LIST,
new Integer(0),
-
getNodeAttributes(), null, 0);
- nodeChartEnablers.add(nodeChartAttrList);
- metanodeProperties.add(nodeChartAttrList);
- nodeChartAttrList.addTunableValueListener(this);
- nodeChartAttrList.setImmutable(true);
-
- // Get the chart type (might change depending
on the chart type)
- nodeChartTypeList = new Tunable("chartType",
"Chart type",
- Tunable.LIST,
new Integer(0),
-
getChartTypes(), null, 0);
- nodeChartEnablers.add(nodeChartTypeList);
- metanodeProperties.add(nodeChartTypeList);
- nodeChartTypeList.addTunableValueListener(this);
- nodeChartTypeList.setImmutable(true);
- }
- }
-
- metanodeProperties.add(new Tunable("defaultsGroup", "Defaults",
+ metanodeProperties.add(new Tunable("defaultsGroup", "Attribute
Aggregation Defaults",
Tunable.GROUP, new
Integer(5),
new Boolean(true), null,
Tunable.COLLAPSABLE));
{
@@ -360,6 +330,36 @@
// Update
tunableChanged(attrList);
}
+
+ // If we have nodeCharts, provide chart options for aggregated
attributes
+ {
+ Tunable t = new Tunable("nodeChartsGroup", "Node Chart
Options",
+ Tunable.GROUP, new Integer(2),
+ new Boolean(true), null,
Tunable.COLLAPSABLE);
+ metanodeProperties.add(t);
+ t.setImmutable(true);
+ nodeChartEnablers.add(t);
+
+ {
+ // Get the attribute to map
+ nodeChartAttrList = new
Tunable("nodeChartAttribute", "Attribute to use for node chart",
+ Tunable.LIST,
new Integer(0),
+
getNodeAttributes(), null, 0);
+ nodeChartEnablers.add(nodeChartAttrList);
+ metanodeProperties.add(nodeChartAttrList);
+ nodeChartAttrList.addTunableValueListener(this);
+ nodeChartAttrList.setImmutable(true);
+
+ // Get the chart type (might change depending
on the chart type)
+ nodeChartTypeList = new Tunable("chartType",
"Chart type",
+ Tunable.LIST,
new Integer(0),
+
getChartTypes(), null, 0);
+ nodeChartEnablers.add(nodeChartTypeList);
+ metanodeProperties.add(nodeChartTypeList);
+ nodeChartTypeList.addTunableValueListener(this);
+ nodeChartTypeList.setImmutable(true);
+ }
+ }
updateSettings(true);
}
--
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.