Specifying a name attribute for the toolBar element allows to create a GUI having several XML application specific tool bars.
Example:
In , add something like this:XXE_user_preferences_dir/addon/xhtml.xxe
<toolBar name="toolBar2"> ... </toolBar>
In , add something like this:XXE_user_preferences_dir/addon/docbook.xxe
<toolBar name="toolBar2"> ... </toolBar>
Notice that the same name toolBar2 is used in all XML application specific configuration files.
In (see XMLmind XML Editor - Customizing the User Interface), add something like this:XXE_user_preferences_dir/addon/custom.xxe_gui
<toolBarItems name="configSpecificToolBarItems2">
<class>com.xmlmind.xmleditapp.kit.part.ConfigSpecificToolBarItems</class>
<property name="specificationName" type="String" value="toolBar2" />
</toolBarItems>
<toolBar name="configSpecificToolBar2">
<toolBarItems name="configSpecificToolBarItems2" />
</toolBar>
<layout>
<topToolBars>
<insert />
<toolBar name="configSpecificToolBar2" />
</topToolBars>
</layout>