* @since 3.0
*/
public void paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds) {
if (annotation instanceof IAnnotationPresentation) {
IAnnotationPresentation presentation= (IAnnotationPresentation) annotation;
presentation.paint(gc, canvas, bounds);
return;
}
AnnotationPreference preference= getAnnotationPreference(annotation);
if (preference != null) {