public void editRoutes() {
IWorkbenchPage page = Workbenches.getActiveWorkbenchPage();
if (page == null) {
Activator.getLogger().warning("No active page!");
} else {
IEditorInput input = new CamelContextNodeEditorInput(this);
try {
page.openEditor(input, CAMEL_EDITOR_ID, true);
} catch (PartInitException e) {
Activator.getLogger().warning("Could not open editor: " + CAMEL_EDITOR_ID + ". Reason: " + e, e);
}