23242526272829
public class WebMenuCallback implements MenuCallback { public void beginMainMenu() { menuStack_.push(new AppMenuBar(false)); }
303132333435363738
public void beginMenu(String label) { label = AppMenuItem.replaceMnemonics(label, ""); AppMenuBar newMenu = new AppMenuBar(true); head().addItem(label, newMenu); menuStack_.push(newMenu); }