Class EclipseAnnotationPeer

java.lang.Object
org.eclipse.jface.text.source.Annotation
org.apache.uima.caseditor.editor.annotation.EclipseAnnotationPeer

public class EclipseAnnotationPeer extends org.eclipse.jface.text.source.Annotation
This class is used to provide additional information about the AnnotationFS object to the custom drawing strategies.
  • Constructor Details

    • EclipseAnnotationPeer

      public EclipseAnnotationPeer(AnnotationFS annotation)
      Initializes a new instance.
      Parameters:
      annotation - the annotation
  • Method Details

    • getAnnotationFS

      public AnnotationFS getAnnotationFS()
      Retrieves the annotation.
      Returns:
      the annotation
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object