1 package org.simantics.simulation.sequences.action;
3 import org.simantics.databoard.binding.Binding;
4 import org.simantics.scl.runtime.function.Function1;
5 import org.simantics.scl.runtime.tuple.Tuple0;
7 public interface ActionContext {
9 Object get(String variableName, Binding binding);
10 void set(String variableName, Object value, Binding binding);
11 void scheduleNow(Function1<Tuple0,Object> continuation);
12 void scheduleNextStep(Function1<Tuple0,Object> continuation);
13 void scheduleAt(double time, Function1<Tuple0,Object> continuation);