replace deprecated org.eclipse.jface.util.ListenerList
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / phpeditor / IProblemAnnotation.java
1 package net.sourceforge.phpeclipse.phpeditor;
2
3 /*
4  * (c) Copyright IBM Corp. 2000, 2001.
5  * All Rights Reserved.
6  */
7
8 import java.util.Iterator;
9
10 import org.eclipse.swt.graphics.Image;
11 import org.eclipse.swt.widgets.Display;
12
13 /**
14  * Interface of annotations representing problems.
15  */
16 public interface IProblemAnnotation {
17
18         AnnotationType getAnnotationType();
19
20         boolean isTemporary();
21
22         String getMessage();
23
24         String[] getArguments();
25
26         int getId();
27
28         Image getImage(Display display);
29
30         boolean isRelevant();
31
32         boolean hasOverlay();
33
34         Iterator getOverlaidIterator();
35
36         void addOverlaid(IProblemAnnotation annotation);
37
38         void removeOverlaid(IProblemAnnotation annotation);
39
40         /**
41          * @deprecated
42          */
43         boolean isProblem();
44
45         /**
46          * @deprecated
47          */
48         boolean isTask();
49
50         /**
51          * @deprecated
52          */
53         boolean isWarning();
54
55         /**
56          * @deprecated
57          */
58         boolean isError();
59 }