]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.simulation/src/org/simantics/simulation/experiment/IDynamicExperiment.java
Added Set End Time command and handler as an alternate stepping mode
[simantics/platform.git] / bundles / org.simantics.simulation / src / org / simantics / simulation / experiment / IDynamicExperiment.java
index 19dba1ee9669feef5097d94a347f1e239ef9c6df..2b249bcd9a4030b3c70f5b0f719f8c9ed9ac3502 100644 (file)
@@ -40,6 +40,11 @@ public interface IDynamicExperiment extends IExperiment {
         */
        public void rewindTo(double time);
 
+       /**
+        * @return current simulation time
+        */
+       double getSimulationTime();
+
        /**
         * Ensure that the current state of the experiment at the time of invocation
         * is stored so that it can be returned to during a later session.