From c8dfafbe6a2822f2498d1b496d2013c28520d65d Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Wed, 26 Sep 2018 13:41:22 +0300 Subject: [PATCH] Adapt to platform changes in simantics/platform#96. gitlab #36 Change-Id: I671caf54a3472782ec53b54d647b040079bfcf64 --- .../ui/elements/profiles/SimulationPlaybackStyle.java | 11 ----------- 1 file changed, 11 deletions(-) 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 */ -- 2.47.1