Package org.eclipse.ui

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


        }
        /* **********************************************************************************/

        IEditorPart editor = getActiveEditor();
        if (editor != null) {
            editor.doSaveAs();
        }
    }

    /* (non-Javadoc)
     * Method declared on ActiveEditorAction.
View Full Code Here


    getEditor(0).doSave(monitor);
  }
 
  public void doSaveAs() {
    IEditorPart editor = getEditor(0);
    editor.doSaveAs();
    setInput(editor.getEditorInput());
    setPartName(getEditorInput().getName());
  }
 
  public void gotoMarker(IMarker marker) {
View Full Code Here

   * 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

   * 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

   * 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());
  }
  /* (non-Javadoc)
   * Method declared on IEditorPart
View Full Code Here

   * 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());
    setPartName(editor.getTitle());
    setInput(editor.getEditorInput());
  }
 
View Full Code Here

  public void doSaveAs() {
    if (getCurrentPage() != 0) {
      parameterTree.updateText(getCurrentPage() == 1);
    }
    IEditorPart editor = getEditor(0);
    editor.doSaveAs();
    setPartName(editor.getTitle());
    setInput(editor.getEditorInput());
  }

  /*
 
View Full Code Here

  public void doSaveAs() {
    IEditorPart editor = getEditor(0);
    if(currentPageIndex == 1) {
      tableComposite.syncWithTextEditor();
    }
    editor.doSaveAs();
    setPageText(0, editor.getTitle());
    setInput(editor.getEditorInput());
    tableComposite.setDirty(false);
//    tableComposite.syncWithTextEditor();
//    if(getEditor(2) != null) {
View Full Code Here

  }
 
  @Override
  public void doSaveAs() {
    IEditorPart editor = getEditor(0);
    editor.doSaveAs();
    setInput(editor.getEditorInput());
    setPartName(getEditorInput().getName());
  }
 
  public void gotoMarker(IMarker marker) {
View Full Code Here

     */
    @Override
  public void doSaveAs()
    {
        IEditorPart editor = getEditor(0);
        editor.doSaveAs();
        setPageText(0, editor.getTitle());
        setInput(editor.getEditorInput());
    }

    public void gotoMarker(IMarker marker)
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.