public void addExitAction() { menudef.addMenuItem(new ExitAction("/com/openbravo/images/gohome.png", "Menu.Exit")); }
public void addChangePasswordAction() { menudef.addMenuItem( new ChangePasswordAction( "/com/openbravo/images/yast_security.png", "Menu.ChangePassword")); }
public void addExecution(String icon, String key, String classname) { menudef.addMenuItem(new MenuExecAction(m_appview, icon, key, classname)); }
public ScriptSubmenu addSubmenu(String icon, String key, String classname) { ScriptSubmenu submenu = new ScriptSubmenu(key); m_aPreparedViews.put(classname, new JPanelMenu(submenu.getMenuDefinition())); menudef.addMenuItem(new MenuPanelAction(m_appview, icon, key, classname)); return submenu; }
public void addPanel(String icon, String key, String classname) { menudef.addMenuItem(new MenuPanelAction(m_appview, icon, key, classname)); }