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