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;
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
*/