From a65fa98bd8e513e55934ce4455939d60f4c3178b Mon Sep 17 00:00:00 2001 From: miettinen Date: Mon, 17 Jun 2013 09:38:04 +0000 Subject: [PATCH] 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 --- .../NewSensitivityAnalysisExperimentNodeHandler.java | 2 +- .../sysdyn/ui/properties/SensitivityAnalysisExperimentTab.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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); -- 2.47.1