IPath location = new Path("C:/Page_Test.xml"); IFileStore fileStore = EFS.getLocalFileSystem().getStore(location); IWorkbenchPage page = Activator.getDefault().getWorkbench() .getActiveWorkbenchWindow().getActivePage(); try { IDE.openEditor(page, <<<>>>>, "id"); } catch (PartInitException e) { e.printStackTrace(); }