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 final class SWTComposite implements IFormComponent {
13:
14: private Control control;
15:
16: public SWTComposite(Control control) {
17: this .control = control;
18: }
19:
20: /**
21: * @see fr.aliacom.form.common.IFormComponent#reset()
22: */
23: public void reset() {
24: }
25:
26: /**
27: * @see fr.aliacom.form.common.IFormComponent#setValueBean(Object)
28: */
29: public void setValueBean(Object bean) {
30: }
31:
32: /**
33: * @see fr.aliacom.form.common.IFormComponent#getNativeWidget()
34: */
35: public Object getNativeWidget() {
36: return control;
37: }
38:
39: }
|