Codota Logo
IAnnotationModelExtension.getModificationStamp
Code IndexAdd Codota to your IDE (free)

How to use
getModificationStamp
method
in
org.eclipse.jface.text.source.IAnnotationModelExtension

Best Java code snippets using org.eclipse.jface.text.source.IAnnotationModelExtension.getModificationStamp (Showing top 4 results out of 315)

  • Common ways to obtain IAnnotationModelExtension
private void myMethod () {
IAnnotationModelExtension i =
  • Codota Iconnew AnnotationModel()
  • Smart code suggestions by Codota
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.text

  /**
   * Seals this event. Any direct modification to the annotation model after the event has been sealed
   * invalidates this event.
   *
   * @since 3.0
   */
  public void markSealed() {
    if (fAnnotationModel instanceof IAnnotationModelExtension) {
      IAnnotationModelExtension extension= (IAnnotationModelExtension) fAnnotationModel;
      fModificationStamp= extension.getModificationStamp();
    }
  }
}
origin: org.eclipse.platform/org.eclipse.text

/**
 * Returns whether this annotation model event is still valid.
 *
 * @return <code>true</code> if this event is still valid, <code>false</code> otherwise
 * @since 3.0
 */
public boolean isValid() {
  if (fModificationStamp != null && fAnnotationModel instanceof IAnnotationModelExtension) {
    IAnnotationModelExtension extension= (IAnnotationModelExtension) fAnnotationModel;
    return fModificationStamp == extension.getModificationStamp();
  }
  return true;
}
origin: org.eclipse.platform/org.eclipse.text

  /**
   * Seals this event. Any direct modification to the annotation model after the event has been sealed
   * invalidates this event.
   *
   * @since 3.0
   */
  public void markSealed() {
    if (fAnnotationModel instanceof IAnnotationModelExtension) {
      IAnnotationModelExtension extension= (IAnnotationModelExtension) fAnnotationModel;
      fModificationStamp= extension.getModificationStamp();
    }
  }
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.text

/**
 * Returns whether this annotation model event is still valid.
 *
 * @return <code>true</code> if this event is still valid, <code>false</code> otherwise
 * @since 3.0
 */
public boolean isValid() {
  if (fModificationStamp != null && fAnnotationModel instanceof IAnnotationModelExtension) {
    IAnnotationModelExtension extension= (IAnnotationModelExtension) fAnnotationModel;
    return fModificationStamp == extension.getModificationStamp();
  }
  return true;
}
org.eclipse.jface.text.sourceIAnnotationModelExtensiongetModificationStamp

Javadoc

Returns the modification stamp of this annotation model.

Popular methods of IAnnotationModelExtension

  • replaceAnnotations
    Adds and removes annotations to/from this annotation model in a single step. The annotations to remo
  • addAnnotationModel
    Attaches attachment to the receiver. Connectsattachment to the currently connected document. Ifattac
  • getAnnotationModel
    Returns the attached IAnnotationModel for key, or null if none is attached for key.
  • removeAnnotationModel
    Removes and returns the attached IAnnotationModel forkey.
  • modifyAnnotationPosition
    Modifies the position associated with the given annotation to equal the given position. If the annot
  • removeAllAnnotations
    Removes all annotations from this annotation model.

Popular in Java

  • Making http post requests using okhttp
  • getResourceAsStream (ClassLoader)
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • Reference (javax.naming)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now