X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2FcomponentTypeEditor%2FComponentTypeScriptEditor.java;h=c3152692d097dc91f26407cf8e28f00102d3eaf3;hb=a270cece5fc71b6e3ca7f58ed21b297b017029fc;hp=cbad48af48bfac990542f6bc8c7cf6dd08ae88e5;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ComponentTypeScriptEditor.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ComponentTypeScriptEditor.java index cbad48af4..c3152692d 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ComponentTypeScriptEditor.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ComponentTypeScriptEditor.java @@ -91,7 +91,7 @@ public class ComponentTypeScriptEditor extends SCLModuleEditor { String name = graph.getRelatedValue(script, L0.HasName); Resource componentType = graph.getSingleObject(script, STR.ComponentType_hasScript_Inverse); String ctName = graph.getRelatedValue(componentType, L0.HasName); - return ctName + " " + name; + return ctName + " " + name; //$NON-NLS-1$ } }, @@ -103,17 +103,17 @@ public class ComponentTypeScriptEditor extends SCLModuleEditor { } private static final String[] EXECUTION_PHASES = new String[] { - "step", - "analogAutomation", - "binaryAutomation", - "preparation" + "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[] { - "Execute at each step", - "Execute together with analog automation", - "Execute together with binary automation", - "Execute during preparation" + Messages.ComponentTypeScriptEditor_ExecuteAtEachStep, + Messages.ComponentTypeScriptEditor_ExecuteAnalogAutomation, + Messages.ComponentTypeScriptEditor_ExecuteBinaryAutomation, + Messages.ComponentTypeScriptEditor_ExecuteDuringPreparation }; @Override