01: package fr.aliacom.form.swt.ui;
02:
03: import org.eclipse.swt.widgets.Control;
04:
05: import fr.aliacom.form.common.IFormComponent;
06:
07: /**
08: * @author tom
09: *
10: * (C) 2001, 2002 Thomas Cataldo
11: */
12: public class SWTControl implements IFormComponent {
13:
14: private Control control;
15:
16: /**
17: * Constructor SWTControl.
18: * @param control
19: */
20: public SWTControl(Control control) {
21: this .control = control;
22: }
23:
24: /**
25: * @see fr.aliacom.form.common.IFormComponent#reset()
26: */
27: public void reset() {
28: }
29:
30: /**
31: * @see fr.aliacom.form.common.IFormComponent#setValueBean(java.lang.Object)
32: */
33: public void setValueBean(Object bean) {
34: }
35:
36: /**
37: * @see fr.aliacom.form.common.IFormComponent#getNativeWidget()
38: */
39: public Object getNativeWidget() {
40: return control;
41: }
42:
43: }
|