1 11 package org.eclipse.jface.text.source; 12 13 14 import java.util.Iterator ; 15 16 import org.eclipse.jface.text.IDocument; 17 import org.eclipse.jface.text.Position; 18 19 20 44 public interface IAnnotationModel { 45 46 53 void addAnnotationModelListener(IAnnotationModelListener listener); 54 55 61 void removeAnnotationModelListener(IAnnotationModelListener listener); 62 63 78 void connect(IDocument document); 79 80 92 void disconnect(IDocument document); 93 94 110 void addAnnotation(Annotation annotation, Position position); 111 112 125 void removeAnnotation(Annotation annotation); 126 127 132 Iterator getAnnotationIterator(); 133 134 141 Position getPosition(Annotation annotation); 142 } 143 144 | Popular Tags |