Menubar Plug-in
 The Menubar Plug-in enables you to manipulate the menubar and toolbars and to create contextual menu's.

The Menubar Plug-in is our first commercial Plug-in.
Servoy doesn't offer the ability to manipulate the menubar out of the box. The Menubar Plug-in however enables you to do so (and much more).

With the Menubar Plug-in you can:
  • Add, edit and remove menu's
  • Add, edit and remove menu items
  • Add, edit and remove checkbox items
  • Add, edit and remove radiobutton items
  • Add, edit and remove submenu's
  • Reset the menubar to default
  • Select items via scripting
  • Add, edit and remove toolbars
  • Add, edit and remove toobar buttons
  • Add, edit and remove toolbar combobox
  • Add, edit and remove toolbar checkbox
  • Add a popup menu
  • Add a contextual menu (right-click popup)
  • Add a mouser-over menu
Where applicable (depending on the menu, menu item and OS) you can manipulate mnemonics and accelerators.
Mnemonics offer a way to use the keyboard to navigate the menu hierarchy, increasing the accessibility of programs. Accelerators, on the other hand, offer keyboard shortcuts to bypass navigating the menu hierarchy. By calling a (global) method you can use the menu to add your own help menu, preferences panel etc...
When clicked the menu item hands over the menu index, item index, menu text, item text and selected value. It is also possible to 'attach' your own variable data to the menu item.



Starting with version 1.1 it is possible to create a menu with our new MenuBar wizard. The wizard will help you to create all parameters from a fill in field instead of the command line, where possible you will find guidance on what parameters you can use.

The Menubar Plug-in has become part of Servoy since Servoy 4.

Latest Servoy 4 Eclipse release available -
Latest Servoy 3 Classic release available 1.8-011 05/06/2010
 

Useful links