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;
}
private static final String[] EXECUTION_PHASES = new String[] {
+ "pre-step", //$NON-NLS-1$
"step", //$NON-NLS-1$
+ "post-step", //$NON-NLS-1$
"analogAutomation", //$NON-NLS-1$
"binaryAutomation", //$NON-NLS-1$
"preparation" //$NON-NLS-1$
};
private static final String[] EXECUTION_PHASE_LABELS = new String[] {
+ Messages.ComponentTypeScriptEditor_ExecuteBeforeEachStep,
Messages.ComponentTypeScriptEditor_ExecuteAtEachStep,
+ Messages.ComponentTypeScriptEditor_ExecuteAfterEachStep,
Messages.ComponentTypeScriptEditor_ExecuteAnalogAutomation,
Messages.ComponentTypeScriptEditor_ExecuteBinaryAutomation,
Messages.ComponentTypeScriptEditor_ExecuteDuringPreparation
private static final String BUNDLE_NAME = "org.simantics.modeling.ui.componentTypeEditor.messages"; //$NON-NLS-1$
public static String ComponentTypeEditor_UserComponentInterface;
public static String ComponentTypeScriptEditor_ExecuteAnalogAutomation;
+ public static String ComponentTypeScriptEditor_ExecuteAfterEachStep;
public static String ComponentTypeScriptEditor_ExecuteAtEachStep;
+ public static String ComponentTypeScriptEditor_ExecuteBeforeEachStep;
public static String ComponentTypeScriptEditor_ExecuteBinaryAutomation;
public static String ComponentTypeScriptEditor_ExecuteDuringPreparation;
public static String ComponentTypeViewer_OpenedInReadOnly;
ComponentTypeEditor_UserComponentInterface=User Component Interface
ComponentTypeScriptEditor_ExecuteAnalogAutomation=Execute together with analog automation
+ComponentTypeScriptEditor_ExecuteAfterEachStep=Execute after each step
ComponentTypeScriptEditor_ExecuteAtEachStep=Execute at each step
+ComponentTypeScriptEditor_ExecuteBeforeEachStep=Execute before each step
ComponentTypeScriptEditor_ExecuteBinaryAutomation=Execute together with binary automation
ComponentTypeScriptEditor_ExecuteDuringPreparation=Execute during preparation
ComponentTypeViewer_OpenedInReadOnly=(Opened in read-only mode)