Examples of endCompoundChange()


Examples of org.eclipse.jface.text.IRewriteTarget.endCompoundChange()

            if (document instanceof IDocumentExtension4) {
              IDocumentExtension4 extension= (IDocumentExtension4) document;
              extension.stopRewriteSession(rewriteSession);
            } else {
              target.endCompoundChange();
              setRedraw(true);
            }

            restoreSelection();
            if (context != null)
View Full Code Here

Examples of org.eclipse.jface.text.IRewriteTarget.endCompoundChange()

      }
      try {
        new AddKeyOperation(info).run(null);
      } finally {
        if (target != null) {
          target.endCompoundChange();
        }
      }
    }
  }
View Full Code Here

Examples of org.eclipse.jface.text.IRewriteTarget.endCompoundChange()

          op.run(null);
          originalField.delete(false, null);
        }
      } finally {
        if (target != null) {
          target.endCompoundChange();
        }
      }
    }
  }
View Full Code Here

Examples of org.eclipse.jface.text.IRewriteTarget.endCompoundChange()

      try {
        new AddActionOperation(info).run(null);
      }
      finally {
        if (target != null) {
          target.endCompoundChange();
        }
      }
    }
  }
}
View Full Code Here

Examples of org.eclipse.jface.text.IRewriteTarget.endCompoundChange()

    if (!fEditInProgress || editor == null)
      return;

    IRewriteTarget target= (IRewriteTarget)editor.getAdapter(IRewriteTarget.class);
    if (target != null) {
      target.endCompoundChange();
    }

    fEditInProgress= false;
  }
View Full Code Here

Examples of org.eclipse.jface.text.IRewriteTarget.endCompoundChange()

    IRewriteTarget target= (IRewriteTarget)editor.getAdapter(IRewriteTarget.class);
    if (target != null)
      target.beginCompoundChange();
    runCompoundChange();
    if (target != null)
      target.endCompoundChange();

  }

  /*
   * @see org.eclipse.ui.texteditor.IUpdate#update()
View Full Code Here

Examples of org.eclipse.jface.text.IRewriteTarget.endCompoundChange()

        fContentAssistant.showContextInformation(null, -1);


    } finally {
      if (target != null)
        target.endCompoundChange();

      if (fViewer instanceof IEditingSupportRegistry) {
        IEditingSupportRegistry registry= (IEditingSupportRegistry) fViewer;
        registry.unregister(helper);
      }
View Full Code Here

Examples of org.eclipse.jface.text.IRewriteTarget.endCompoundChange()

    if (editor != null) {
      IRewriteTarget target= (IRewriteTarget) editor.getAdapter(IRewriteTarget.class);
      if (target != null) {
        fExitStrategy.disarm();
        target.endCompoundChange();
      }
    }

    fDocument= null;
  }
View Full Code Here

Examples of org.eclipse.jface.text.IRewriteTarget.endCompoundChange()

            if (document instanceof IDocumentExtension4) {
              IDocumentExtension4 extension= (IDocumentExtension4) document;
              extension.stopRewriteSession(rewriteSession);
            } else {
              target.endCompoundChange();
              setRedraw(true);
            }

            restoreSelection();
            if (context != null)
View Full Code Here

Examples of org.eclipse.jface.text.IRewriteTarget.endCompoundChange()

  private void endCompoundChangeIfNeeded() {
    if (fHasOpenCompoundChange) {
      ITextViewerExtension extension= (ITextViewerExtension) fCurrentTarget.getViewer();
      IRewriteTarget target= extension.getRewriteTarget();
      target.endCompoundChange();
      fHasOpenCompoundChange= false;
    }
  }

  private void beginCompoundChangeIfNeeded() {
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.