01: package fr.aliacom.form.swt.ui;
02:
03: import org.eclipse.swt.SWT;
04: import org.eclipse.swt.widgets.ToolBar;
05: import org.eclipse.swt.widgets.ToolItem;
06:
07: import fr.aliacom.common.ui.ISeparator;
08:
09: /**
10: * @author tom
11: *
12: * (C) 2001, 2002 Thomas Cataldo
13: */
14: public class SWTToolSeparator implements ISeparator {
15:
16: private ToolItem sep;
17:
18: public SWTToolSeparator(ToolBar bar) {
19: sep = new ToolItem(bar, SWT.SEPARATOR);
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 sep;
39: }
40:
41: }
|