]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
possibleActiveRunVariable should return Maybe Variable
authorAntti Villberg <antti.villberg@semantum.fi>
Mon, 20 Mar 2017 06:50:32 +0000 (08:50 +0200)
committerjsimomaa <jani.simomaa@gmail.com>
Fri, 28 Apr 2017 13:20:47 +0000 (16:20 +0300)
refs #7026

Change-Id: I00cd147ab934932027753bd9f17b51da5c05a85e

bundles/org.simantics.modeling/scl/Simantics/Simulation.scl

index 460d1cd0edf41e2259427ed574417f80178abadd..72166303ea6ec97967454ac9607671dbaf1af7b7 100644 (file)
@@ -7,7 +7,7 @@ importJava "org.simantics.simulation.experiment.ExperimentUtil" where
     simulateExperiment :: IExperiment -> Boolean -> <Proc> ()
     disposeExperiment :: IExperiment -> <Proc> ()
     getExperimentState :: IExperiment -> <ReadGraph> ExperimentState
-    possibleActiveRunVariable ::Resource -> <ReadGraph> Variable
+    possibleActiveRunVariable ::Resource -> <ReadGraph> Maybe Variable
     
 importJava "org.simantics.simulation.experiment.IExperiment" where
     data IExperiment