From: Tuukka Lehtonen Date: Wed, 26 Sep 2018 10:41:22 +0000 (+0300) Subject: Adapt to platform changes in simantics/platform#96. X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=c8dfafbe6a2822f2498d1b496d2013c28520d65d;p=simantics%2Fsysdyn.git Adapt to platform changes in simantics/platform#96. gitlab #36 Change-Id: I671caf54a3472782ec53b54d647b040079bfcf64 --- diff --git a/bundles/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/profiles/SimulationPlaybackStyle.java b/bundles/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/profiles/SimulationPlaybackStyle.java index 28be032a..37b7571c 100644 --- a/bundles/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/profiles/SimulationPlaybackStyle.java +++ b/bundles/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/profiles/SimulationPlaybackStyle.java @@ -34,11 +34,9 @@ import org.simantics.scenegraph.INode; import org.simantics.scenegraph.g2d.nodes.ShapeNode; import org.simantics.scenegraph.g2d.nodes.SingleElementNode; import org.simantics.scenegraph.profile.EvaluationContext; -import org.simantics.scenegraph.profile.Observer; import org.simantics.scenegraph.profile.common.ProfileVariables; import org.simantics.scenegraph.utils.GeometryUtils; import org.simantics.scenegraph.utils.NodeUtil; -import org.simantics.scl.runtime.tuple.Tuple2; import org.simantics.simulation.experiment.IExperiment; import org.simantics.simulation.project.IExperimentManager; import org.simantics.sysdyn.Functions; @@ -218,15 +216,6 @@ public class SimulationPlaybackStyle extends StyleBase result) { - if (result != null) - values.put(new Tuple2(runtimeDiagram, element), result); - else - values.remove(new Tuple2(runtimeDiagram, element)); - observer.update(); - } - /** * Apply style */