*/
public class OpenDiagramAdapter extends AbstractResourceEditorAdapter {
- private static final String EDITOR_ID = "org.simantics.modeling.ui.plainDiagramEditor";
+ private static final String EDITOR_ID = "org.simantics.modeling.ui.plainDiagramEditor"; //$NON-NLS-1$
public OpenDiagramAdapter() {
- super("Diagram Editor", Activator.COMPOSITE_ICON);
+ super(Messages.OpenDiagramAdapter_DiagramEditor, Activator.COMPOSITE_ICON);
}
- protected String getEditorId() {
+ public String getEditorId() {
return EDITOR_ID;
}