30.2. Multiple tool bars

Specifying a name attribute for the toolBar element lets you create an XXE GUI having several tool bars which are specific to the type of the document being edited.


  1. In XXE_user_preferences_dir/addon/xhtml.xxe, add something like this:

    <toolBar name="toolBar2">
  2. In XXE_user_preferences_dir/addon/docbook.xxe, add something like this:

    <toolBar name="toolBar2">

    Notice that the same name toolBar2 is used in all XML application specific configuration files.

  3. In XXE_user_preferences_dir/addon/customize.xxe_gui (see XMLmind XML Editor - Customizing the User Interface), add something like this:

    <toolBarItems name="configSpecificToolBarItems2">
      <property name="specificationName" type="String" value="toolBar2" />
    <toolBar name="configSpecificToolBar2">
      <toolBarItems name="configSpecificToolBarItems2" />
        <insert />
        <toolBar name="configSpecificToolBar2" />