On 06/06/2012 06:29 PM, Olivier Relot wrote: > > i'm testing xxe-pro-5_3_0-alpha3
This version is not officially supported. If you have problems with it, we'll not be able to help you. > and i would like to implement 2 > differents menus in my own project ; > it was simple to have only one menu, i just had to write something like > that in my configuration file : > <menu label="_my menu"> > ... > </menu> > > but it doesn't work for a second one... i read your documentation > (XMLmind XML Editor - Configuration > and Deployment, chapter 16.1 multiple menus p.79) and i don't find what > i'm looking for : i need 2 menus in the same application and not the > same menu in 2 differents applications... > > i hope it's possible, > thank you for your help, > Yes, this is possible, but in practice it's not really easy. (This kind of issue will be adressed by XXE v6.) Basically, [1] you need to create a *placeholder* menu (other than the stock "XML" menu, which is also a placeholder) by customizing the GUI of XXE (custom .xxe_gui file). Example: --- <menuItems name="configSpecificMenuItems2"> <class>com.xmlmind.xmleditapp.kit.part.ConfigSpecificMenuItems</class> <property name="specificationName" type="String" value="menu2" /> </menuItems> <menu name="configSpecificMenu2" label="_My Menu"> <menuItems name="configSpecificMenuItems2" /> </menu> <menuBar> <insert/> <menu name="configSpecificMenu2" /> </menuBar> --- [2] Once this ``empty slot'' exists, you need to define a menu having the corresponding name attribute in your configuration file (.xxe file). Example: --- <menu name="menu2" label="_My Menu"> ... </menu> --- (What counts here is name="menu2" which matches <property name="specificationName" type="String" value="menu2" />) All this is better explained here: http://www.xmlmind.com/xmleditor/_distrib/doc/configure/multiple_menus.html -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

