Added PHPUnitEditor and corresponding PHPPreferencePage
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / IProblemAnnotation.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/IProblemAnnotation.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/IProblemAnnotation.java
new file mode 100644 (file)
index 0000000..6413787
--- /dev/null
@@ -0,0 +1,62 @@
+package net.sourceforge.phpeclipse.phpeditor;
+/*
+ * (c) Copyright IBM Corp. 2000, 2001.
+ * All Rights Reserved.
+ */
+
+
+import java.util.Iterator;
+
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.swt.widgets.Display;
+
+
+/**
+ * Interface of annotations representing problems.
+ */
+public interface IProblemAnnotation {
+       
+       AnnotationType getAnnotationType();
+       
+       boolean isTemporary();
+       
+       String getMessage();
+       
+       String[] getArguments();
+       
+       int getId();
+       
+       
+       Image getImage(Display display);
+       
+       boolean isRelevant();
+       
+       boolean hasOverlay();
+       
+       Iterator getOverlaidIterator();
+       
+       void addOverlaid(IProblemAnnotation annotation);
+       
+       void removeOverlaid(IProblemAnnotation annotation);
+       
+       
+       /**
+        * @deprecated
+        */
+       boolean isProblem();
+       
+       /**
+        * @deprecated
+        */
+       boolean isTask();
+       
+       /**
+        * @deprecated
+        */
+       boolean isWarning();
+       
+       /**
+        * @deprecated
+        */
+       boolean isError();
+}