90919293949596979899100
MenuItem item = new MenuItem(getMenu(menu), SWT.CASCADE); item.setText(label); if (handler != null) item.addSelectionListener(new ProxySelectionListener(handler, name)); itemCtx.put(name, item); return item; }