1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / IPainter.java
1 package net.sourceforge.phpeclipse.phpeditor;
2
3 /*
4  * (c) Copyright IBM Corp. 2000, 2001.
5  * All Rights Reserved.
6  */
7
8 public interface IPainter {
9
10         /** Paint reasons */
11         int SELECTION = 0;
12
13         int TEXT_CHANGE = 1;
14
15         int KEY_STROKE = 2;
16
17         int MOUSE_BUTTON = 4;
18
19         int INTERNAL = 8;
20
21         int CONFIGURATION = 16;
22
23         /**
24          * Disposes this painter.
25          * <p>
26          * XXX: The relationship with deactivate is not yet defined.
27          * </p>
28          */
29         void dispose();
30
31         void paint(int reason);
32
33         /**
34          * Deactivates the painter.
35          * <p>
36          * XXX: The relationship with dispose is not yet defined.
37          * </p>
38          */
39         void deactivate(boolean redraw);
40
41         void setPositionManager(IPositionManager manager);
42 }