Esempio n. 1
0
 public void addExitAction() {
   menudef.addMenuItem(new ExitAction("/com/openbravo/images/gohome.png", "Menu.Exit"));
 }
Esempio n. 2
0
 public void addChangePasswordAction() {
   menudef.addMenuItem(
       new ChangePasswordAction(
           "/com/openbravo/images/yast_security.png", "Menu.ChangePassword"));
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 public void addExecution(String icon, String key, String classname) {
   menudef.addMenuItem(new MenuExecAction(m_appview, icon, key, classname));
 }
Esempio n. 5
0
 public void addPanel(String icon, String key, String classname) {
   menudef.addMenuItem(new MenuPanelAction(m_appview, icon, key, classname));
 }
Esempio n. 6
0
 public void addTitle(String key) {
   menudef.addMenuTitle(key);
 }