1
|
/**
|
2
|
*
|
3
|
*/
|
4
|
package eu.etaxonomy.taxeditor.singlesource.org.eclipse.jface.text;
|
5
|
|
6
|
import javax.naming.OperationNotSupportedException;
|
7
|
|
8
|
import org.apache.log4j.Logger;
|
9
|
import org.eclipse.jface.text.Position;
|
10
|
|
11
|
import eu.etaxonomy.taxeditor.singlesource.editor.key.polytomous.PolytomousKeyListLabelProviderFacadeImpl;
|
12
|
|
13
|
/**
|
14
|
* @author lusu
|
15
|
*
|
16
|
*/
|
17
|
public class PositionFacadeImpl extends Position implements IPosition {
|
18
|
|
19
|
private static final Logger logger = Logger.getLogger(PositionFacadeImpl.class);
|
20
|
|
21
|
public Object getInstanceInternal() throws OperationNotSupportedException
|
22
|
{
|
23
|
PositionFacadeImpl INST = new PositionFacadeImpl();
|
24
|
return INST;
|
25
|
}
|
26
|
|
27
|
public Object getInstanceInternal(Integer offset) throws OperationNotSupportedException
|
28
|
{
|
29
|
PositionFacadeImpl INST = new PositionFacadeImpl(offset);
|
30
|
return INST;
|
31
|
}
|
32
|
|
33
|
public Object getInstanceInternal(Integer offset, Integer length) throws OperationNotSupportedException
|
34
|
{
|
35
|
PositionFacadeImpl INST = new PositionFacadeImpl(offset, length);
|
36
|
return INST;
|
37
|
}
|
38
|
|
39
|
public PositionFacadeImpl() throws OperationNotSupportedException {
|
40
|
super();
|
41
|
}
|
42
|
|
43
|
public PositionFacadeImpl(Integer offset) throws OperationNotSupportedException {
|
44
|
super(offset);
|
45
|
}
|
46
|
|
47
|
public PositionFacadeImpl(Integer offset, Integer length) throws OperationNotSupportedException {
|
48
|
super( offset, length);
|
49
|
}
|
50
|
}
|