From: miettinen Date: Mon, 17 Jun 2013 09:38:04 +0000 (+0000) Subject: Added "" as a default name for new sensitivity parameters to... X-Git-Tag: 1.8.1~288 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=a65fa98bd8e513e55934ce4455939d60f4c3178b;p=simantics%2Fsysdyn.git Added "" as a default name for new sensitivity parameters to help with the sensitivity experiment content assist enter problem. (refs #4331) git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27587 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/handlers/newComponents/NewSensitivityAnalysisExperimentNodeHandler.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/handlers/newComponents/NewSensitivityAnalysisExperimentNodeHandler.java index c1be4933..7b48a779 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/handlers/newComponents/NewSensitivityAnalysisExperimentNodeHandler.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/handlers/newComponents/NewSensitivityAnalysisExperimentNodeHandler.java @@ -41,7 +41,7 @@ public class NewSensitivityAnalysisExperimentNodeHandler extends NewExperimentNo Resource parameter = GraphUtils.create2(graph, sr.SensitivityAnalysisExperiment_Parameter, sr.SensitivityAnalysisExperiment_Parameter_propabilityDistribution, distribution, - sr.SensitivityAnalysisExperiment_Parameter_variable, "", + sr.SensitivityAnalysisExperiment_Parameter_variable, "", sr.SensitivityAnalysisExperiment_Parameter_numberOfValues, 10, L0.PartOf, experiment); diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/SensitivityAnalysisExperimentTab.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/SensitivityAnalysisExperimentTab.java index 2bdaf8f4..a88f633f 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/SensitivityAnalysisExperimentTab.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/SensitivityAnalysisExperimentTab.java @@ -58,7 +58,6 @@ import org.simantics.db.exception.DatabaseException; import org.simantics.db.management.ISessionContext; import org.simantics.db.request.Read; import org.simantics.jfreechart.chart.properties.RangeComposite; -import org.simantics.jfreechart.chart.properties.VariableExistsValidator; import org.simantics.jfreechart.chart.properties.xyline.AxisAndVariablesExplorerComposite; import org.simantics.layer0.Layer0; import org.simantics.layer0.utils.direct.GraphUtils; @@ -363,7 +362,7 @@ public class SensitivityAnalysisExperimentTab extends LabelPropertyTabContributo Resource parameter = GraphUtils.create2(graph, sr.SensitivityAnalysisExperiment_Parameter, sr.SensitivityAnalysisExperiment_Parameter_propabilityDistribution, distribution, - sr.SensitivityAnalysisExperiment_Parameter_variable, "", + sr.SensitivityAnalysisExperiment_Parameter_variable, "", sr.SensitivityAnalysisExperiment_Parameter_numberOfValues, 10, L0.PartOf, input);