AbstractEditorComponent editor = context.get(IdeMain.class).getEditorsPane().openEditor(root, context.get(OperationContext.class));
editor.selectNode(root);
return;
}
}
<BUG>JOptionPane.showMessageDialog(null, "The " + editorName + " wasn't found in " + languageEditor.getUID());
} else {</BUG>
JOptionPane.showMessageDialog(null, "Editor model for \"" + node.getModel().getUID() + "\" is not in the project");
}
}

AbstractEditorComponent editor = context.get(IdeMain.class).getEditorsPane().openEditor(root, context.get(OperationContext.class));
editor.selectNode(root);
return;
