X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/IPainter.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/IPainter.java new file mode 100644 index 0000000..80d2594 --- /dev/null +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/IPainter.java @@ -0,0 +1,42 @@ +package net.sourceforge.phpeclipse.phpeditor; + +/* + * (c) Copyright IBM Corp. 2000, 2001. + * All Rights Reserved. + */ + +public interface IPainter { + + /** Paint reasons */ + int SELECTION = 0; + + int TEXT_CHANGE = 1; + + int KEY_STROKE = 2; + + int MOUSE_BUTTON = 4; + + int INTERNAL = 8; + + int CONFIGURATION = 16; + + /** + * Disposes this painter. + *

+ * XXX: The relationship with deactivate is not yet defined. + *

+ */ + void dispose(); + + void paint(int reason); + + /** + * Deactivates the painter. + *

+ * XXX: The relationship with dispose is not yet defined. + *

+ */ + void deactivate(boolean redraw); + + void setPositionManager(IPositionManager manager); +}