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