]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Added "<Write variable name>" as a default name for new sensitivity parameters to...
authormiettinen <miettinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 17 Jun 2013 09:38:04 +0000 (09:38 +0000)
committermiettinen <miettinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 17 Jun 2013 09:38:04 +0000 (09:38 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27587 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/handlers/newComponents/NewSensitivityAnalysisExperimentNodeHandler.java
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/SensitivityAnalysisExperimentTab.java

index c1be4933173df5736b27569c88f3a317a2009960..7b48a779ec2ce2d678ddcb6705e4ba159a0565e1 100644 (file)
@@ -41,7 +41,7 @@ public class NewSensitivityAnalysisExperimentNodeHandler extends NewExperimentNo
         \r
         Resource parameter = GraphUtils.create2(graph, sr.SensitivityAnalysisExperiment_Parameter,\r
                 sr.SensitivityAnalysisExperiment_Parameter_propabilityDistribution, distribution,\r
-                sr.SensitivityAnalysisExperiment_Parameter_variable, "",\r
+                sr.SensitivityAnalysisExperiment_Parameter_variable, "<Write variable name>",\r
                 sr.SensitivityAnalysisExperiment_Parameter_numberOfValues, 10,\r
                 L0.PartOf, experiment);\r
         \r
index 2bdaf8f4a64e6333c199ba079fb8747a04375243..a88f633f32ca29b8875d8db29ab13c3130d24812 100644 (file)
@@ -58,7 +58,6 @@ import org.simantics.db.exception.DatabaseException;
 import org.simantics.db.management.ISessionContext;\r
 import org.simantics.db.request.Read;\r
 import org.simantics.jfreechart.chart.properties.RangeComposite;\r
-import org.simantics.jfreechart.chart.properties.VariableExistsValidator;\r
 import org.simantics.jfreechart.chart.properties.xyline.AxisAndVariablesExplorerComposite;\r
 import org.simantics.layer0.Layer0;\r
 import org.simantics.layer0.utils.direct.GraphUtils;\r
@@ -363,7 +362,7 @@ public class SensitivityAnalysisExperimentTab extends LabelPropertyTabContributo
                 \r
                 Resource parameter = GraphUtils.create2(graph, sr.SensitivityAnalysisExperiment_Parameter,\r
                         sr.SensitivityAnalysisExperiment_Parameter_propabilityDistribution, distribution,\r
-                        sr.SensitivityAnalysisExperiment_Parameter_variable, "",\r
+                        sr.SensitivityAnalysisExperiment_Parameter_variable, "<Write variable name>",\r
                         sr.SensitivityAnalysisExperiment_Parameter_numberOfValues, 10,\r
                         L0.PartOf, input);\r
                 \r