01: package fr.aliacom.form.swt.ui;
02:
03: import org.eclipse.swt.widgets.Menu;
04:
05: import fr.aliacom.common.ui.IMenuBar;
06:
07: /**
08: * @author tom
09: *
10: * (C) 2001, 2002 Thomas Cataldo
11: */
12: public class SWTMenu implements IMenuBar {
13:
14: private Menu bar;
15:
16: public SWTMenu(Menu bar) {
17: this .bar = bar;
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 bar;
37: }
38:
39: }
|