IWorkspace workspace = ResourcesPlugin.getWorkspace();
IFile file = workspace.getRoot().getFileForLocation(resultPath);
try {
IEditorPart openEditor = page.openEditor(new FileEditorInput(file), "org.apache.uima.ruta.ide.ui.editor.RutaEditor");
RutaEditor tme = (RutaEditor) openEditor;
tme.highlightElement(id);
} catch (PartInitException e) {
RutaAddonsPlugin.error(e);
}
}