From af745f3859154ae18d499447a346bcbb241adbc5 Mon Sep 17 00:00:00 2001 From: lehtonen Date: Tue, 15 May 2012 14:23:39 +0000 Subject: [PATCH] Did not compile after change https://www.simantics.org/redmine/projects/simantics/repository/revisions/24974. refs #3448 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@24975 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../ui/elements/profiles/SimulationPlaybackStyle.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/profiles/SimulationPlaybackStyle.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/profiles/SimulationPlaybackStyle.java index bb595851..09c08902 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/profiles/SimulationPlaybackStyle.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/elements/profiles/SimulationPlaybackStyle.java @@ -37,6 +37,7 @@ 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.adapter.SysdynVariableProperties; @@ -209,11 +210,11 @@ public class SimulationPlaybackStyle extends StyleBase result) { + public void styleResultChanged(Observer observer, Resource runtimeDiagram, Resource element, Triple result) { if (result != null) - values.put(element, result); + values.put(new Tuple2(runtimeDiagram, element), result); else - values.remove(element); + values.remove(new Tuple2(runtimeDiagram, element)); observer.update(); } -- 2.47.1