1. pre-step: executed during each simulation step,
before native simulation stepping
2. post-step: executed during each simulation step,
after native and all other stepping logics
The purpose of these is to allow simulation step initialization and
finalization with UC SCL scripts.
Adapted from master commit
1653df0843d89e68b8e476bda2133e781a667c04.
gitlab #389
Change-Id: Icce3fc19e3241d25364de129ecb511aaf092ae80
import org.simantics.db.request.Read;
import org.simantics.layer0.Layer0;
import org.simantics.scl.ui.editor.SCLSourceViewerConfigurationNew;
import org.simantics.db.request.Read;
import org.simantics.layer0.Layer0;
import org.simantics.scl.ui.editor.SCLSourceViewerConfigurationNew;
-import org.simantics.scl.ui.editor.SharedTextColorsNew;
import org.simantics.structural.stubs.StructuralResource2;
import org.simantics.ui.workbench.IResourceEditorInput;
import org.simantics.ui.workbench.TitleUpdater;
import org.simantics.structural.stubs.StructuralResource2;
import org.simantics.ui.workbench.IResourceEditorInput;
import org.simantics.ui.workbench.TitleUpdater;
}
private static final String[] EXECUTION_PHASES = new String[] {
}
private static final String[] EXECUTION_PHASES = new String[] {
"analogAutomation",
"binaryAutomation",
"preparation"
};
private static final String[] EXECUTION_PHASE_LABELS = new String[] {
"analogAutomation",
"binaryAutomation",
"preparation"
};
private static final String[] EXECUTION_PHASE_LABELS = new String[] {
+ "Execute before each step",
+ "Execute after each step",
"Execute together with analog automation",
"Execute together with binary automation",
"Execute during preparation"
"Execute together with analog automation",
"Execute together with binary automation",
"Execute during preparation"