Package org.eclipse.ui

Examples of org.eclipse.ui.IPathEditorInput


      return;
    }
    MarkdownEditor editor = (MarkdownEditor) ed;
    IEditorInput i = editor.getEditorInput();
    if (i instanceof IPathEditorInput) {
      IPathEditorInput input = (IPathEditorInput) i;
      IPath path = input.getPath();
      path = path.removeFileExtension();
      path = path.addFileExtension("html");
      File file = path.toFile();
      String html = editor.getMarkdownPage().html();
      FileUtils.write(file, html);
View Full Code Here

TOP

Related Classes of org.eclipse.ui.IPathEditorInput

Copyright © 2018 www.massapicom. 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.