Package org.eclipse.ui.texteditor

Examples of org.eclipse.ui.texteditor.ITextEditor.doSave()


        op.run(JSPSearchSupport.getInstance().getProgressMonitor());
      } else {
        //editor save must be done on UI thread
        IRunnableWithProgress runnable= new IRunnableWithProgress() {
          public void run(IProgressMonitor pm) throws InterruptedException {
            editor.doSave(pm);
          }
        };
        PlatformUI.getWorkbench().getProgressService().runInUI(editor.getSite().getWorkbenchWindow(), runnable, null);
      }
    } catch (InvocationTargetException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.