]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Adapt to platform changes in simantics/platform#96. 45/2245/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 26 Sep 2018 10:41:22 +0000 (13:41 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 26 Sep 2018 10:41:22 +0000 (13:41 +0300)
gitlab #36

Change-Id: I671caf54a3472782ec53b54d647b040079bfcf64

bundles/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/profiles/SimulationPlaybackStyle.java

index 28be032a8506395f442c29a58369d54035d51181..37b7571caf5dbceed90d9903a33f499c8fe8b9c4 100644 (file)
@@ -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<Triple<AffineTransform, D
         return null;
     }
 
-    @Override
-    public void styleResultChanged(Observer observer, Resource runtimeDiagram, Resource element, Triple<AffineTransform, Double, ColorGradient> result) {
-        if (result != null)
-            values.put(new Tuple2(runtimeDiagram, element), result);
-        else
-            values.remove(new Tuple2(runtimeDiagram, element));
-        observer.update();
-    }
-
     /**
      * Apply style
      */