]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/internal/GraphicalDebuggerEditorAdapter.java
Modified OpenWith for further customization.
[simantics/platform.git] / bundles / org.simantics.debug.ui / src / org / simantics / debug / ui / internal / GraphicalDebuggerEditorAdapter.java
index 600520a23517d2fc154f431b29e2a13a87027911..63a7aa802b84c81ed878b2b25f8a19c9be896a92 100644 (file)
@@ -23,7 +23,7 @@ import org.simantics.ui.workbench.editor.AbstractResourceEditorAdapter;
 public class GraphicalDebuggerEditorAdapter extends AbstractResourceEditorAdapter {
 
     public GraphicalDebuggerEditorAdapter() {
-        super("Graphical Debugger", SimanticsUI.getImageDescriptor("icons/etool16/bug.png"));
+        super(Messages.GraphicalDebuggerEditorAdapter_GraphicalDebugger, SimanticsUI.getImageDescriptor("icons/etool16/bug.png")); //$NON-NLS-1$
     }
 
     @Override
@@ -36,4 +36,9 @@ public class GraphicalDebuggerEditorAdapter extends AbstractResourceEditorAdapte
         openEditorWithId(GraphicalDebuggerEditor.EDITOR_ID, new ResourceEditorInput(GraphicalDebuggerEditor.EDITOR_ID,r));
     }
     
+    @Override
+    public String getEditorId() {
+       return GraphicalDebuggerEditor.EDITOR_ID;
+    }
+    
 }