Package org.eclipse.ui.internal.texteditor

Examples of org.eclipse.ui.internal.texteditor.AnnotationTypeHierarchy


   * @return the annotation type hierarchy
   * @since 3.0
   */
  public AnnotationTypeHierarchy getAnnotationTypeHierarchy() {
    if (fAnnotationTypeHierarchy == null)
      fAnnotationTypeHierarchy= new AnnotationTypeHierarchy();
    return fAnnotationTypeHierarchy;
  }
View Full Code Here


  /*
   * @see org.eclipse.jface.text.source.IAnnotationAccessExtension#isSubtype(java.lang.Object, java.lang.Object)
   */
  public boolean isSubtype(Object annotationType, Object potentialSupertype) {
    AnnotationTypeHierarchy hierarchy= getAnnotationTypeHierarchy();
    return hierarchy.isSubtype(potentialSupertype.toString(), annotationType.toString());
  }
View Full Code Here

  /*
   * @see org.eclipse.jface.text.source.IAnnotationAccessExtension#getSupertypes(java.lang.Object)
   */
  public Object[] getSupertypes(Object annotationType) {
    AnnotationTypeHierarchy hierarchy= getAnnotationTypeHierarchy();
    AnnotationType type= hierarchy.getAnnotationType(annotationType.toString());
    return type.getSuperTypes();
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.texteditor.AnnotationTypeHierarchy

Copyright © 2018 www.massapicom. 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.