Tabnine Logo
IDocumentRewriteSessionListener.documentRewriteSessionChanged
Code IndexAdd Tabnine to your IDE (free)

How to use
documentRewriteSessionChanged
method
in
org.eclipse.jface.text.IDocumentRewriteSessionListener

Best Java code snippets using org.eclipse.jface.text.IDocumentRewriteSessionListener.documentRewriteSessionChanged (Showing top 2 results out of 315)

origin: at.bestsolution.efxclipse.eclipse/org.eclipse.text

/**
 * Fires the given event to all registered rewrite session listeners. Uses robust iterators.
 *
 * @param event the event to be fired
 * @since 3.1
 */
protected void fireRewriteSessionChanged(DocumentRewriteSessionEvent event) {
  if (fDocumentRewriteSessionListeners.size() > 0) {
    List<IDocumentRewriteSessionListener> list= new ArrayList<>(fDocumentRewriteSessionListeners);
    Iterator<IDocumentRewriteSessionListener> e= list.iterator();
    while (e.hasNext()) {
      try {
        IDocumentRewriteSessionListener l= e.next();
        l.documentRewriteSessionChanged(event);
      } catch (Exception ex) {
        log(ex);
      }
    }
  }
}
origin: org.eclipse.platform/org.eclipse.text

/**
 * Fires the given event to all registered rewrite session listeners. Uses robust iterators.
 *
 * @param event the event to be fired
 * @since 3.1
 */
protected void fireRewriteSessionChanged(DocumentRewriteSessionEvent event) {
  if (fDocumentRewriteSessionListeners.size() > 0) {
    List<IDocumentRewriteSessionListener> list= new ArrayList<>(fDocumentRewriteSessionListeners);
    Iterator<IDocumentRewriteSessionListener> e= list.iterator();
    while (e.hasNext()) {
      try {
        IDocumentRewriteSessionListener l= e.next();
        l.documentRewriteSessionChanged(event);
      } catch (Exception ex) {
        log(ex);
      }
    }
  }
}
org.eclipse.jface.textIDocumentRewriteSessionListenerdocumentRewriteSessionChanged

Javadoc

Signals a change in a document's rewrite session state.

Popular methods of IDocumentRewriteSessionListener

    Popular in Java

    • Updating database using SQL prepared statement
    • compareTo (BigDecimal)
    • getSharedPreferences (Context)
    • scheduleAtFixedRate (Timer)
    • File (java.io)
      An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
    • BigInteger (java.math)
      An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
    • MalformedURLException (java.net)
      This exception is thrown when a program attempts to create an URL from an incorrect specification.
    • NumberFormat (java.text)
      The abstract base class for all number formats. This class provides the interface for formatting and
    • Stream (java.util.stream)
      A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
    • Table (org.hibernate.mapping)
      A relational table
    • CodeWhisperer alternatives
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now