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