1
|
package eu.etaxonomy.taxeditor.singlesource.editor.name.container;
|
2
|
|
3
|
import javax.naming.OperationNotSupportedException;
|
4
|
|
5
|
import org.eclipse.swt.graphics.GC;
|
6
|
import org.eclipse.swt.graphics.Rectangle;
|
7
|
import org.eclipse.swt.widgets.Canvas;
|
8
|
|
9
|
public interface IEditorAnnotation {
|
10
|
|
11
|
public Object getMarker() throws OperationNotSupportedException;
|
12
|
|
13
|
public void setMarker(Object marker) throws OperationNotSupportedException;
|
14
|
|
15
|
public int getLine() throws OperationNotSupportedException;
|
16
|
|
17
|
public String getText() throws OperationNotSupportedException;
|
18
|
|
19
|
public int getLayer() throws OperationNotSupportedException;
|
20
|
|
21
|
public Object getPosition() throws OperationNotSupportedException;
|
22
|
|
23
|
public void setPosition(Object position) throws OperationNotSupportedException;
|
24
|
|
25
|
public void paint(GC gc, Canvas canvas, Rectangle bounds) throws OperationNotSupportedException;
|
26
|
|
27
|
}
|