Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Snippet from org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run():
IFileStore fileStore = EFS.getLocalFileSystem().getStore(new Path(filterPath)); fileStore = fileStore.getChild(names[i]); IFileInfo fetchInfo = fileStore.fetchInfo(); if (!fetchInfo.isDirectory() && fetchInfo.exists()) { IWorkbenchPage page = window.getActivePage(); try { IDE.openEditorOnFileStore(page, fileStore);