import org.simantics.scenegraph.profile.common.ProfileVariables;\r
import org.simantics.scenegraph.utils.GeometryUtils;\r
import org.simantics.scenegraph.utils.NodeUtil;\r
+import org.simantics.scl.runtime.tuple.Tuple2;\r
import org.simantics.simulation.experiment.IExperiment;\r
import org.simantics.simulation.project.IExperimentManager;\r
import org.simantics.sysdyn.adapter.SysdynVariableProperties;\r
}\r
\r
@Override\r
- public void styleResultChanged(Observer observer, Resource element, Triple<AffineTransform, Double, ColorGradient> result) {\r
+ public void styleResultChanged(Observer observer, Resource runtimeDiagram, Resource element, Triple<AffineTransform, Double, ColorGradient> result) {\r
if (result != null)\r
- values.put(element, result);\r
+ values.put(new Tuple2(runtimeDiagram, element), result);\r
else\r
- values.remove(element);\r
+ values.remove(new Tuple2(runtimeDiagram, element));\r
observer.update();\r
}\r
\r