X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=inline;f=bundles%2Forg.simantics.simulation%2Fsrc%2Forg%2Fsimantics%2Fsimulation%2Fexperiment%2FIDynamicExperiment.java;h=2b249bcd9a4030b3c70f5b0f719f8c9ed9ac3502;hb=8c20d4d5d310c2e3cd3edeae954080476637b757;hp=19dba1ee9669feef5097d94a347f1e239ef9c6df;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.simulation/src/org/simantics/simulation/experiment/IDynamicExperiment.java b/bundles/org.simantics.simulation/src/org/simantics/simulation/experiment/IDynamicExperiment.java index 19dba1ee9..2b249bcd9 100644 --- a/bundles/org.simantics.simulation/src/org/simantics/simulation/experiment/IDynamicExperiment.java +++ b/bundles/org.simantics.simulation/src/org/simantics/simulation/experiment/IDynamicExperiment.java @@ -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.