1
|
/**
|
2
|
*
|
3
|
*/
|
4
|
package eu.etaxonomy.taxeditor.singlesource.org.eclipse.jface.window;
|
5
|
|
6
|
import javax.naming.OperationNotSupportedException;
|
7
|
|
8
|
import org.eclipse.swt.widgets.Control;
|
9
|
|
10
|
import eu.etaxonomy.taxeditor.singlesource.ImplementationLoader;
|
11
|
|
12
|
/**
|
13
|
* @author lusu
|
14
|
*
|
15
|
*/
|
16
|
public class ToolTipFacade implements IToolTip {
|
17
|
protected IToolTip IMPL;
|
18
|
|
19
|
/**
|
20
|
* <p>Constructor for NameViewer.</p>
|
21
|
*
|
22
|
* @param parent a {@link org.eclipse.swt.widgets.Composite} object.
|
23
|
*/
|
24
|
public ToolTipFacade(Control control) throws OperationNotSupportedException {
|
25
|
IMPL = (IToolTip)ImplementationLoader.newInstance(ToolTipFacade.class, control);
|
26
|
}
|
27
|
|
28
|
/* (non-Javadoc)
|
29
|
* @see eu.etaxonomy.taxeditor.singlesource.org.eclipse.jface.window.IToolTip#setRespectDisplayBounds(boolean)
|
30
|
*/
|
31
|
@Override
|
32
|
public void setRespectDisplayBounds(boolean respectDisplayBounds)
|
33
|
throws OperationNotSupportedException {
|
34
|
IMPL.setRespectDisplayBounds(respectDisplayBounds);
|
35
|
}
|
36
|
|
37
|
/* (non-Javadoc)
|
38
|
* @see eu.etaxonomy.taxeditor.singlesource.org.eclipse.jface.window.IToolTip#setText(java.lang.String)
|
39
|
*/
|
40
|
@Override
|
41
|
public void setText(String text) throws OperationNotSupportedException {
|
42
|
IMPL.setText(text);
|
43
|
}
|
44
|
}
|