Examples of doRevertToSaved()


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

    IEditorPart editorPart = this.getActiveEditor();
    if (editorPart == null || !(this.getActiveEditor() instanceof ITextEditor)) {
      return;
    }
    ITextEditor textEditor = (ITextEditor) editorPart;
    textEditor.doRevertToSaved();
  }

  public void setAction(String actionID, IAction action) {
    IEditorPart editorPart = this.getActiveEditor();
    if (editorPart == null || !(this.getActiveEditor() instanceof ITextEditor)) {
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.