]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ProceduralComponentInstanceViewerEditorAdapter.java
Externalize strings
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / componentTypeEditor / ProceduralComponentInstanceViewerEditorAdapter.java
index 012cd5e9ffd557acb7989af23436849d39963692..55d6178dd5f90bb34c311f03b6ef4a85af152f66 100644 (file)
@@ -18,11 +18,11 @@ public class ProceduralComponentInstanceViewerEditorAdapter extends
         AbstractResourceEditorAdapter {
     
     public static final ImageDescriptor ICON = ImageDescriptor.createFromURL(Activator.getDefault().getBundle()
-            .getResource("icons/shape_3d_gray.png"));
-    public static final String EDITOR_ID = "org.simantics.modeling.ui.proceduralComponentInstanceViewer";
+            .getResource("icons/shape_3d_gray.png")); //$NON-NLS-1$
+    public static final String EDITOR_ID = "org.simantics.modeling.ui.proceduralComponentInstanceViewer"; //$NON-NLS-1$
     
     public ProceduralComponentInstanceViewerEditorAdapter() {
-        super("Procedural Component Instance Viewer", ICON, -10);
+        super(Messages.ProceduralComponentInstanceViewerEditorAdapter_ProceduralComponentInstanceViewer, ICON, -10);
     }
 
     private static Resource browseComponent(ReadGraph graph, Resource input) throws DatabaseException {