1 11 package org.eclipse.jface.text.source; 12 13 import org.eclipse.swt.graphics.GC; 14 import org.eclipse.swt.graphics.Rectangle; 15 import org.eclipse.swt.widgets.Canvas; 16 17 31 public interface IAnnotationAccessExtension { 32 33 36 static final int DEFAULT_LAYER= IAnnotationPresentation.DEFAULT_LAYER; 37 38 44 String getTypeLabel(Annotation annotation); 45 46 55 int getLayer(Annotation annotation); 56 57 68 void paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds); 69 70 80 boolean isPaintable(Annotation annotation); 81 82 90 boolean isSubtype(Object annotationType, Object potentialSupertype); 91 92 100 Object [] getSupertypes(Object annotationType); 101 } 102 | Popular Tags |