Examples of endCompoundChange()


Examples of at.bestsolution.efxclipse.text.jface.IRewriteTarget.endCompoundChange()

      } else
        contentAssistant.showContextInformation(null, -1);
     
    } finally {
      if (target != null)
        target.endCompoundChange();

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

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

                    }
                } catch (final BadLocationException e) {
                    ErlLogger.warn(e);
                }
                if (target != null) {
                    target.endCompoundChange();
                    target.setRedraw(true);
                }
            }
        });
    }
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()

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

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

    fEditInProgress= false;
  }
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()

    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()

           
            if (fTextDragAndDropToken == null) {
              // Move in same editor - end compound change
              IRewriteTarget target= (IRewriteTarget)getAdapter(IRewriteTarget.class);
              if (target != null)
                target.endCompoundChange();
            }
           
          }
        } finally {
          fTextDragAndDropToken= null;
View Full Code Here

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

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

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

      fContentAssistant.fireProposalChosen(p);

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

      if (registry != null)
        registry.unregister(fModificationEditingSupport);

      fInserting= false;
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.