Revision b2f59380
Added by Lutz Suhrbier over 12 years ago
eu.etaxonomy.taxeditor.editor.rcp/src/eu/etaxonomy/taxeditor/singlesource/org/eclipse/jface/text/PositionFacadeImpl.java | ||
---|---|---|
5 | 5 |
|
6 | 6 |
import javax.naming.OperationNotSupportedException; |
7 | 7 |
|
8 |
import org.apache.log4j.Logger; |
|
8 | 9 |
import org.eclipse.jface.text.Position; |
9 | 10 |
|
11 |
import eu.etaxonomy.taxeditor.singlesource.editor.key.polytomous.PolytomousKeyListLabelProviderFacadeImpl; |
|
12 |
|
|
10 | 13 |
/** |
11 | 14 |
* @author lusu |
12 | 15 |
* |
13 | 16 |
*/ |
14 | 17 |
public class PositionFacadeImpl extends Position implements IPosition { |
15 | 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 |
|
|
16 | 39 |
public PositionFacadeImpl() throws OperationNotSupportedException { |
17 | 40 |
super(); |
18 | 41 |
} |
Also available in: Unified diff
PolytomousKeyListLabelProvider, Position and EditorAnnotation: fixed Single-Source problems