SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


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);
service/knowhow/eclipse/open_file_from_local_file_system_in_editor.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2024