]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Update sensitivity chart each time a new result file is read to avoid possibly missin...
authormiettinen <miettinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 11 Jun 2013 07:33:09 +0000 (07:33 +0000)
committermiettinen <miettinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 11 Jun 2013 07:33:09 +0000 (07:33 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27519 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SysdynSensitivityAnalysisExperiment.java

index b52255b3e40e13086daca514348a3cdd55906d99..432ff044a6bbe529656a7c3eb1bcc5f10b1e5b4a 100644 (file)
@@ -271,6 +271,13 @@ public class SysdynSensitivityAnalysisExperiment extends SysdynExperiment {
         return this.results.get(0);\r
     }\r
     \r
+    @Override\r
+    public void resultsChanged() {\r
+        long time = System.nanoTime();\r
+        updateSubscriptions();\r
+        previousVariableUpdateTime = time;\r
+    }\r
+    \r
     @Override\r
     public void saveState() {\r
         if(results == null || !(results instanceof ArrayList<?>)) \r