1 11 package org.eclipse.ant.internal.ui.editor.text; 12 13 import java.util.Iterator ; 14 15 import org.eclipse.swt.graphics.Image; 16 import org.eclipse.swt.widgets.Display; 17 18 25 public interface IXMLAnnotation { 26 public static final String ERROR_ANNOTATION_TYPE= "org.eclipse.ui.workbench.texteditor.error"; public static final String WARNING_ANNOTATION_TYPE= "org.eclipse.ui.workbench.texteditor.warning"; public static final String INFO_ANNOTATION_TYPE= "org.eclipse.ui.workbench.texteditor.info"; 30 35 public String getType(); 36 37 42 public boolean isTemporary(); 43 44 49 public String getMessage(); 50 51 57 public Image getImage(Display display); 58 59 71 public boolean isRelevant(); 72 73 78 public boolean hasOverlay(); 79 80 86 public Iterator getOverlaidIterator(); 87 88 94 public void addOverlaid(IXMLAnnotation annotation); 95 96 102 public void removeOverlaid(IXMLAnnotation annotation); 103 104 110 public boolean isProblem(); 111 } 112 | Popular Tags |