Package org.eclipse.ui

Examples of org.eclipse.ui.IEditorPart.doSaveAs()


   * Saves the multi-page editor's document as another file. Also updates the text for page 0's tab, and updates this
   * multi-page editor's input to correspond to the nested editor's.
   */
  public void doSaveAs() {
    IEditorPart editor = getEditor(0);
    editor.doSaveAs();
    setPageText(0, editor.getTitle());
    setInput(editor.getEditorInput());
  }

  /*
 
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.