Project

General

Profile

Download (3.14 KB) Statistics
| Branch: | Tag: | Revision:
1
package eu.etaxonomy.taxeditor.singlesource.editor.name.container;
2

    
3
import javax.naming.OperationNotSupportedException;
4

    
5
import org.apache.log4j.Logger;
6
import org.eclipse.swt.graphics.GC;
7
import org.eclipse.swt.graphics.Rectangle;
8
import org.eclipse.swt.widgets.Canvas;
9

    
10
/**
11
 * <p>EditorAnnotation class.</p>
12
 *
13
 * @author n.hoffmann
14
 * @version $Id: $
15
 */
16
public class EditorAnnotationFacadeImpl implements IEditorAnnotation {
17
	private static final Logger logger = Logger.getLogger(EditorAnnotationFacadeImpl.class);
18

    
19

    
20
	/**
21
     * <p>Constructor for EditorAnnotation.</p>
22
     *
23
     * @param type a {@link java.lang.String} object.
24
     * @param line a int.
25
     * @param text a {@link java.lang.String} object.
26
	 * @throws OperationNotSupportedException 
27
     */
28
    public EditorAnnotationFacadeImpl(EditorAnnotationFacade.EditorAnnotationType type, Integer line, String text) throws OperationNotSupportedException {
29
    	throw new OperationNotSupportedException("EditorAnnotation not supported.");
30
    }
31
    
32
    /**
33
     * <p>Getter for the field <code>marker</code>.</p>
34
     *
35
     * @return a org.eclipse.core.resources.IMarker object.
36
     * @throws OperationNotSupportedException 
37
     */
38
    public Object getMarker() throws OperationNotSupportedException {
39
    	throw new OperationNotSupportedException("EditorAnnotation not supported.");
40
    }
41

    
42
    /**
43
     * <p>Getter for the field <code>line</code>.</p>
44
     *
45
     * @return a int.
46
     * @throws OperationNotSupportedException 
47
     */
48
    public int getLine() throws OperationNotSupportedException {
49
    	throw new OperationNotSupportedException("EditorAnnotation not supported.");
50
    }
51

    
52
    /**
53
     * <p>Getter for the field <code>text</code>.</p>
54
     *
55
     * @return a {@link java.lang.String} object.
56
     * @throws OperationNotSupportedException 
57
     */
58
    @Override
59
	public String getText() throws OperationNotSupportedException {
60
    	throw new OperationNotSupportedException("EditorAnnotation not supported.");
61
    }
62

    
63
    /**
64
     * <p>getLayer</p>
65
     *
66
     * @return a int.
67
     * @throws OperationNotSupportedException 
68
     */
69
    public int getLayer() throws OperationNotSupportedException {
70
    	throw new OperationNotSupportedException("EditorAnnotation not supported.");
71
    }
72

    
73

    
74
    /**
75
     * <p>Getter for the field <code>position</code>.</p>
76
     *
77
     * @return a {@link org.eclipse.jface.text.Position} object.
78
     * @throws OperationNotSupportedException 
79
     */
80
    public Object getPosition() throws OperationNotSupportedException {
81
    	throw new OperationNotSupportedException("EditorAnnotation not supported.");
82
    }
83

    
84
	
85
	/** {@inheritDoc} 
86
	 * @throws OperationNotSupportedException */
87
	public void paint(GC gc, Canvas canvas, Rectangle bounds) throws OperationNotSupportedException {
88
    	throw new OperationNotSupportedException("EditorAnnotation not supported.");
89
	}
90

    
91

    
92
	public void setMarker(Object marker) throws OperationNotSupportedException {
93
    	throw new OperationNotSupportedException("EditorAnnotation not supported.");
94
	}
95

    
96
	public void setPosition(Object position) throws OperationNotSupportedException {
97
    	throw new OperationNotSupportedException("EditorAnnotation not supported.");
98
	}
99
}
(1-1/4)