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