/** Add a MenuItem with the GWT-Links style. */ public MenuItem addItem(MenuItem item) { item.addStyleName(LinksClientBundle.INSTANCE.css().connectionPopupItem()); return menu.addItem(item); }
public ContextMenu() { super(true); addStyleName(LinksClientBundle.INSTANCE.css().connectionPopup()); add(menu); disableBrowserContextMenu(getElement()); }