<?xml version='1.0' encoding='UTF-8'?>
<gui xmlns="http://www.xmlmind.com/xmleditor/schema/gui"
     xmlns:gui="http://www.xmlmind.com/xmleditor/schema/gui">

  <translation location="xxe_gui_messages_en.properties" />

  <!-- File menu ========================================================= -->

  <action name="newAction" label="_New..."
          icon="icons/newAction.png"
          accelerator="mod N">
    <class
      implementsCommand="XXE.new"
    >com.xmlmind.xmleditapp.kit.part.NewAction</class>
  </action>


  <action name="toggleUseURLChooserAction" label="_Use the URL Chooser">
    <!--
          icon="icons/toggleUseURLChooserAction.png"
          selectedIcon="icons/toggleUseURLChooserAction_selected.png"
    -->
    <class>com.xmlmind.xmleditapp.kit.ToggleOptionAction</class>
    <property name="option" type="String" value="useURLChooser" />
    <property name="defaultValue" type="boolean" value="false" />
  </action>

  <action name="openAction" label="_Open..."
          toolTip="Open document (Shift-click to open it in read-only mode)"
          icon="icons/openAction.png"
          accelerator="mod O">
    <class 
      implementsCommand="XXE.open"
    >com.xmlmind.xmleditapp.kit.part.OpenAction</class>
  </action>

  <action name="saveAction" label="_Save"
          icon="icons/saveAction.png"
          accelerator="mod S">
    <class 
      implementsCommand="XXE.save"
    >com.xmlmind.xmleditapp.kit.part.SaveAction</class>
  </action>

  <action name="saveAsAction" label="Save _As..."
          icon="icons/saveAsAction.png">
    <class 
      implementsCommand="XXE.saveAs"
    >com.xmlmind.xmleditapp.kit.part.SaveAsAction</class>
  </action>

  <action name="saveAllAction" label="Save A_ll"
          icon="icons/saveAllAction.png">
    <class
      implementsCommand="XXE.saveAll"
    >com.xmlmind.xmleditapp.kit.part.SaveAllAction</class>
  </action>

  <action name="pageSetupAction" label="Pa_ge Setup..."
          icon="icons/pageSetupAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.PageSetupAction</class>
  </action>

  <action name="printAction" label="_Print..."
          icon="icons/printAction.png"
          accelerator="mod P">
    <class>com.xmlmind.xmleditapp.kit.part.PrintAction</class>
  </action>

  <action name="printSelectionAction" label="Print Selected _Element...">
    <class>com.xmlmind.xmleditapp.kit.part.PrintSelectionAction</class>
  </action>

  <action name="quitAction" label="_Quit"
          accelerator="mod Q">
    <class>com.xmlmind.xmleditapp.kit.part.QuitAction</class>
  </action>

  <menuItems name="recentFilesMenuItems">
    <class>com.xmlmind.xmleditapp.kit.part.RecentFilesMenuItems</class>
  </menuItems>

  <menu name="fileMenu" label="_File" 
        helpId="fileMenu">
    <action name="newAction" />
    <separator />
    <action name="toggleUseURLChooserAction" />
    <action name="openAction" />
    <separator />
    <action name="saveAction" />
    <action name="saveAsAction" />
    <action name="saveAllAction" />
    <separator />
    <action name="pageSetupAction" />
    <action name="printAction" />
    <action name="printSelectionAction" />
    <separator />
    <action name="quitAction" />
    <!-- No need to add a separator here. Separator is dynamic too. -->
    <menuItems name="recentFilesMenuItems" />
  </menu>

  <!-- Folder sub-menu ========== -->

  <action name="browseCurrentFolderAction" label="Open _Current Folder"
          accelerator="mod shift O">
    <class>com.xmlmind.xmleditapp.app.part.BrowseCurrentFolderAction</class>
  </action>

  <action name="browseHomeFolderAction" label="Open _Home Folder">
    <class>com.xmlmind.xmleditapp.app.part.BrowseHomeFolderAction</class>
  </action>

  <action name="browseFilesAction" label="_Open Folder...">
    <class>com.xmlmind.xmleditapp.app.part.BrowseFilesAction</class>
  </action>

  <menu name="folderMenu" label="_Folder">
    <action name="browseCurrentFolderAction" />
    <action name="browseHomeFolderAction" />
    <action name="browseFilesAction" />
  </menu>

  <menu name="fileMenu"
        insert="ifDefined(XXE.Feature.OpenFolder) after openAction">
    <separator />
    <menu name="folderMenu" />
  </menu>

  <!-- Document Set sub-menu ========== -->

  <action name="openDocumentSetAction" label="_Open Document Set...">
    <class>com.xmlmind.xmleditapp.app.part.OpenDocSetAction</class>
  </action>

  <menuItems name="recentDocumentSetsMenuItems">
    <class>com.xmlmind.xmleditapp.app.part.RecentDocSetsMenuItems</class>
  </menuItems>

  <menu name="documentSetMenu" label="_Document Set">
    <action name="openDocumentSetAction" />
    <menuItems name="recentDocumentSetsMenuItems" />
  </menu>

  <menu name="fileMenu"
        insert="ifDefined(XXE.Feature.OpenDocumentSet) after openAction">
    <separator />
    <menu name="documentSetMenu" />
  </menu>

  <!-- Select menu ======================================================= -->
  <!-- *** An action/command is editingContextSensitive by default *** -->

  <action name="selectParentAction"
          label="_Select Parent" 
          icon="icons/selectParentAction.png">
    <command name="selectNode" parameter="parentOrNode" />
  </action>

  <action name="selectChildAction" 
          label="Select _Child" 
          icon="icons/selectChildAction.png">
    <command name="selectNode" parameter="childOrNone" />
  </action>

  <action name="selectPreviousSiblingAction" 
          label="Select _Preceding Sibling" 
          icon="icons/selectPreviousSiblingAction.png">
    <command name="selectNode" parameter="previousSibling[implicitElement]" />
  </action>

  <action name="selectNextSiblingAction" 
          label="Select _Following Sibling" 
          icon="icons/selectNextSiblingAction.png">
    <command name="selectNode" parameter="nextSibling[implicitElement]" />
  </action>

  <action name="extendSelectionToPreviousSiblingAction" 
          label="_Extend Selection to Preceding Sibling" 
          icon="icons/extendSelectionToPreviousSiblingAction.png">
    <command name="selectNode" parameter="extendToPreviousSiblingOrElement" />
  </action>

  <action name="extendSelectionToNextSiblingAction" 
          label="E_xtend Selection to Following Sibling" 
          icon="icons/extendSelectionToNextSiblingAction.png">
    <command name="selectNode" parameter="extendToNextSiblingOrElement" />
  </action>

  <action name="selectChildrenAction" 
          label="Select _All Children">
    <command name="selectNode" parameter="children[implicitElement]" />
  </action>

  <menu name="selectMenu" label="Se_lect" 
        helpId="selectMenu">
    <action name="selectParentAction" />
    <action name="selectChildAction" />
    <action name="selectPreviousSiblingAction" />
    <action name="selectNextSiblingAction" />
    <separator />
    <action name="extendSelectionToPreviousSiblingAction" />
    <action name="extendSelectionToNextSiblingAction" />
    <action name="selectChildrenAction" />
    <separator />
    <menu name="linkMenu" />
    <separator />
    <menu name="navigateMenu" />
  </menu>

  <!-- Link sub-menu ========== -->

  <action name="selectAnchorAction" label="Select Link _Target" 
          icon="icons/selectAnchorAction.png">
    <command name="selectLink" parameter="target" />
  </action>

  <action name="selectLinkAction" label="Select Link _Source" 
          icon="icons/selectLinkAction.png">
    <command name="selectLink" parameter="source" />
  </action>

  <action name="selectPreviousLinkAction" label="Select _Preceding Link Source" 
          icon="icons/selectPreviousLinkAction.png">
    <command name="selectLink" parameter="previousSource" />
  </action>

  <action name="selectNextLinkAction" label="Select _Following Link Source" 
          icon="icons/selectNextLinkAction.png">
    <command name="selectLink" parameter="nextSource" />
  </action>

  <action name="selectOppositeLinkEndAction" label="Select _Opposite Link End" 
          icon="icons/selectOppositeLinkEndAction.png">
    <command name="selectLink" parameter="oppositeEnd" />
  </action>

  <menu name="linkMenu" label="_Link">
    <action name="selectAnchorAction" />
    <action name="selectLinkAction" />
    <action name="selectPreviousLinkAction" />
    <action name="selectNextLinkAction" />
  </menu>

  <!-- Navigate sub-menu ========== -->

  <action name="goBackAction" label="Go _Back" 
          toolTip="Go back (Ctrl-click to show history)"
          icon="icons/goBackAction.png"
          accelerator="alt LEFT">
    <class>com.xmlmind.xmleditapp.app.part.NavigateAction</class>
    <property name="command" type="String" value="back" />
  </action>

  <action name="goForwardAction" label="Go _Forward"
          toolTip="Go forward (Ctrl-click to show history)"
          icon="icons/goForwardAction.png"
          accelerator="alt RIGHT">
    <class>com.xmlmind.xmleditapp.app.part.NavigateAction</class>
    <property name="command" type="String" value="forward" />
  </action>

  <action name="navigationHistoryAction" label="Show _History" 
          icon="icons/navigationHistoryAction.png">
    <class>com.xmlmind.xmleditapp.app.part.NavigateAction</class>
    <property name="command" type="String" value="history" />
  </action>

  <action name="addNavigationMarkAction" label="_Remember this Location" 
          icon="icons/addNavigationMarkAction.png"
          accelerator="alt INSERT">
    <class>com.xmlmind.xmleditapp.app.part.NavigateAction</class>
    <property name="command" type="String" value="mark" />
  </action>

  <menu name="navigateMenu" label="_Navigation">
    <action name="goBackAction" />
    <action name="goForwardAction" />
    <separator />
    <action name="navigationHistoryAction" />
    <separator />
    <action name="addNavigationMarkAction" />
  </menu>

  <!-- Edit menu ========================================================= -->

  <action name="undoAction" label="_Undo" icon="icons/undoAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.UndoAction</class>
  </action>

  <action name="redoAction" label="_Redo" icon="icons/redoAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.RedoAction</class>
  </action>

  <action name="repeatAction" label="R_epeat" icon="icons/repeatAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.RepeatAction</class>
  </action>

  <action name="commandHistoryAction" label="Command _History"
          icon="icons/commandHistoryAction.png"
          accelerator="mod shift A">
    <class>com.xmlmind.xmleditapp.kit.part.CommandHistoryAction</class>
  </action>

  <action name="cutAction" label="Cu_t" icon="icons/cutAction.png">
    <command name="cut" parameter="[implicitElement]" />
  </action>

  <action name="copyAction" label="Cop_y" icon="icons/copyAction.png">
    <command name="copy" parameter="[implicitElement]" />
  </action>

  <action name="pasteBeforeAction" label="Paste Bef_ore" 
          icon="icons/pasteBeforeAction.png">
    <command name="paste" parameter="before[implicitElement]" />
  </action>

  <action name="pasteAction" label="_Paste" 
          icon="icons/pasteAction.png">
    <command name="paste" parameter="toOrInto" />
  </action>

  <action name="pasteAfterAction" label="Pa_ste After" 
          icon="icons/pasteAfterAction.png">
    <command name="paste" parameter="after[implicitElement]" />
  </action>

  <action name="deleteAction" label="_Delete" 
          icon="icons/deleteAction.png">
    <command name="delete" parameter="[implicitElement]" />
  </action>

  <action name="forceDeletionAction" label="_Force Deletion">
    <command name="delete" parameter="force[implicitElement]" />
  </action>

  <action name="replaceAction" label="Repla_ce..." 
          icon="icons/replaceAction.png">
    <command name="replace" parameter="[implicitElement]" />
  </action>

  <action name="insertBeforeAction" label="Insert _Before..." 
          icon="icons/insertBeforeAction.png">
    <command name="insert" parameter="before[implicitElement]" />
  </action>

  <action name="insertAction" label="_Insert..." 
          icon="icons/insertAction.png">
    <command name="insert" parameter="into" />
  </action>

  <action name="insertAfterAction" label="Insert _After..." 
          icon="icons/insertAfterAction.png">
    <command name="insert" parameter="after[implicitElement]" />
  </action>

  <action name="convertAction" label="Con_vert..." 
          icon="icons/convertAction.png">
    <command name="convert" parameter="[implicitElement]" />
  </action>

  <action name="wrapAction" label="Convert [_wrap]..." 
          icon="icons/wrapAction.png">
    <command name="wrap" parameter="[implicitElement]" />
  </action>

  <action name="splitAction" label="Sp_lit" 
          icon="icons/splitAction.png">
    <command name="split" />
  </action>

  <action name="joinAction" label="_Join" 
          icon="icons/joinAction.png">
    <command name="join" />
  </action>

  <menu name="editMenu" label="_Edit" 
        helpId="editMenu">
    <action name="undoAction" />
    <action name="redoAction" />
    <action name="repeatAction" />
    <action name="commandHistoryAction" />
    <separator />
    <action name="cutAction" />
    <action name="copyAction" />
    <action name="pasteBeforeAction" />
    <action name="pasteAction" />
    <action name="pasteAfterAction" />
    <action name="deleteAction" />
    <action name="forceDeletionAction" />
    <separator />
    <action name="replaceAction" />
    <action name="insertBeforeAction" />
    <action name="insertAction" />
    <action name="insertAfterAction" />
    <action name="convertAction" />
    <action name="wrapAction" />
    <separator />
    <action name="splitAction" />
    <action name="joinAction" />
    <separator />
    <menu name="commentMenu" />
    <menu name="piMenu" />
    <menu name="referenceMenu" />
  </menu>

  <!-- Edit/Comment sub-menu ========== -->

  <action name="insertCommentBeforeAction" label="Insert Comment _Before">
    <command name="insertNode" parameter="commentBefore[implicitElement]" />
  </action>

  <action name="insertCommentAction" label="_Insert Comment">
    <command name="insertNode" parameter="commentInto" />
  </action>

  <action name="insertCommentAfterAction" label="Insert Comment _After">
    <command name="insertNode" parameter="commentAfter[implicitElement]" />
  </action>

  <menu name="commentMenu" label="Co_mment">
    <action name="insertCommentBeforeAction" />
    <action name="insertCommentAction" />
    <action name="insertCommentAfterAction" />
  </menu>

  <!-- Edit/Processing Instruction sub-menu ========== -->

  <action name="insertPIBeforeAction" 
          label="Insert Processing Instruction _Before">
    <command name="insertNode" parameter="piBefore[implicitElement]" />
  </action>

  <action name="insertPIAction" label="_Insert Processing Instruction">
    <command name="insertNode" parameter="piInto" />
  </action>

  <action name="insertPIAfterAction" 
          label="Insert Processing Instruction _After">
    <command name="insertNode" parameter="piAfter[implicitElement]" />
  </action>

  <action name="editPITargetAction" 
          label="_Change Processing Instruction Target...">
    <command name="editPITarget" parameter="[implicitNode]" />
  </action>

  <menu name="piMenu" label="Processin_g Instruction">
    <action name="insertPIBeforeAction" />
    <action name="insertPIAction" />
    <action name="insertPIAfterAction" />
    <separator />
    <action name="editPITargetAction" />
  </menu>

  <!-- Edit/Reference sub-menu ========== -->

  <action name="copyAsInclusionAction" label="_Copy as Reference" 
          icon="icons/copyAsInclusionAction.png">
    <command name="copyAsInclusion" parameter="[implicitElement]" />
  </action>

  <action name="xIncludeTextAction" label="I_nclude Text File...">
    <command name="xIncludeText" />
  </action>

  <action name="unincludeAction" label="_Untransclude Reference"
          icon="icons/unincludeAction.png">
    <command name="uninclude" parameter="[lookupInclusion]" />
  </action>

  <action name="unincludeAllAction" label="Untran_sclude All">
    <command name="uninclude" parameter="[all]" />
  </action>

  <action name="reincludeAction" label="Re_transclude Reference"
          icon="icons/reincludeAction.png">
    <command name="reinclude" parameter="[implicitElement]" />
  </action>

  <action name="reincludeAllAction" label="Retransc_lude All">
    <command name="reinclude" parameter="[all]" />
  </action>

  <action name="editIncludingAction" label="E_dit Referencing Document"
          icon="icons/editIncludingAction.png" accelerator="mod shift B">
    <class>com.xmlmind.xmleditapp.kit.part.EditIncludingAction</class>
  </action>

  <action name="editInclusionAction" label="_Edit Referenced Document"
          toolTip="Open referenced document
                   (Shift-click to open it in read-only mode)"
          icon="icons/editInclusionAction.png"
          accelerator="mod shift E">
    <class
      implementsCommand="XXE.editInclusion"
    >com.xmlmind.xmleditapp.kit.part.EditInclusionAction</class>
  </action>

  <menu name="referenceMenu" label="Refere_nce">
    <action name="copyAsInclusionAction" />
    <separator />
    <action name="xIncludeTextAction" />
    <separator />
    <action name="unincludeAction" />
    <action name="unincludeAllAction" />
    <action name="reincludeAction" />
    <action name="reincludeAllAction" />
    <separator />
    <action name="editInclusionAction" />
    <action name="editIncludingAction" />
  </menu>

  <action name="includeReplaceAction" label="_Replace by Reference..." 
          icon="icons/includeReplaceAction.png">
    <command name="include" parameter="replace[implicitElement]"
             editingContextSensitive="false" />
  </action>

  <action name="includeBeforeAction" label="Insert Reference _Before..." 
          icon="icons/includeBeforeAction.png">
    <command name="include" parameter="before[implicitElement]"
             editingContextSensitive="false" />
  </action>

  <action name="includeAction" label="_Insert Reference..." 
          icon="icons/includeAction.png" accelerator="mod shift I">
    <command name="include" parameter="into[implicitElement]"
             editingContextSensitive="false" />
  </action>

  <action name="includeAfterAction" label="Insert Reference _After..." 
          icon="icons/includeAfterAction.png">
    <command name="include" parameter="after[implicitElement]"
             editingContextSensitive="false" />
  </action>

  <menu name="referenceMenu"
    insert="ifDefined(XXE.Feature.IncludeTool) after copyAsInclusionAction">
    <separator />
    <action name="includeReplaceAction" />
    <action name="includeBeforeAction" />
    <action name="includeAction" />
    <action name="includeAfterAction" />
  </menu>

  <!-- Search menu ======================================================= -->

  <action name="textSearchAction" label="_Search..."
          icon="icons/textSearchAction.png"
          accelerator="mod F">
    <class>com.xmlmind.xmleditapp.kit.part.TextSearchAction</class>
  </action>

  <action name="textSearchBackwardsAction" label="Se_arch Backwards..."
          accelerator="mod shift F">
    <class>com.xmlmind.xmleditapp.kit.part.TextSearchBackwardsAction</class>
  </action>

  <action name="textReplaceAction" label="_Replace..."
          icon="icons/textReplaceAction.png"
          accelerator="mod M">
    <class>com.xmlmind.xmleditapp.kit.part.TextReplaceAction</class>
  </action>

  <action name="textReplaceBackwardsAction" label="Rep_lace Backwards..."
          accelerator="mod shift M">
    <class>com.xmlmind.xmleditapp.kit.part.TextReplaceBackwardsAction</class>
  </action>

  <action name="textFindNextAction" label="Find _Next"
          icon="icons/textFindNextAction.png"
          accelerator="mod G">
    <class>com.xmlmind.xmleditapp.kit.part.TextFindNextAction</class>
  </action>

  <action name="textFindPreviousAction" label="Find _Previous"
          icon="icons/textFindNextPrevious.png"
          accelerator="mod shift G">
    <class>com.xmlmind.xmleditapp.kit.part.TextFindPreviousAction</class>
  </action>

  <action name="findElementAction" label="Find _Element..." 
          icon="icons/findElementAction.png">
    <command name="xpathSearch" parameter="[implicitNode]" />
  </action>

  <action name="findElementAgainAction" label="Find Element A_gain">
    <command name="xpathSearch" parameter="[again]" />
  </action>

  <menu name="searchMenu" label="_Search" 
        helpId="searchMenu">
    <action name="textSearchAction" />
    <action name="textSearchBackwardsAction" />
    <separator />
    <action name="textReplaceAction" />
    <action name="textReplaceBackwardsAction" />
    <separator />
    <action name="textFindNextAction" />
    <action name="textFindPreviousAction" />
    <separator />
    <action name="findElementAction" />
    <action name="findElementAgainAction" />
  </menu>

  <!-- WebSearch sub-menu ========== -->

  <menuItems name="webSearchMenuItems">
    <class>com.xmlmind.xmleditapp.app.part.WebSearchMenuItems</class>
  </menuItems>

  <menu name="webSearchMenu" label="_Web Search">
    <menuItems name="webSearchMenuItems" />
  </menu>

  <menu name="searchMenu"
        insert="ifDefined(XXE.Feature.WebSearch) after ##last">
    <separator />
    <menu name="webSearchMenu" />
  </menu>

  <!-- View menu ========================================================= -->

  <action name="redrawAction" label="_Redraw" accelerator="mod L"
          icon="icons/redrawAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.RedrawAction</class>
  </action>

  <action name="addViewAction" label="_Add..."
          icon="icons/addViewAction.png">
    <class>com.xmlmind.xmleditapp.app.part.AddViewAction</class>
  </action>

  <action name="closeViewAction" label="_Close"
          icon="icons/closeViewAction.png">
    <class>com.xmlmind.xmleditapp.app.part.CloseViewAction</class>
  </action>

  <action name="setStyleSheetAction" label="C_hange Style Sheet..."
          icon="icons/setStyleSheetAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.SetStyleSheetAction</class>
  </action>

  <menuItems name="setStyleSheetMenuItems">
    <class>com.xmlmind.xmleditapp.kit.part.SetStyleSheetMenuItems</class>

    <!-- Requires: setStyleSheetAction -->
  </menuItems>

  <menu name="viewMenu" label="_View" 
        helpId="viewMenu">
    <action name="redrawAction" />
    <separator />
    <menu name="textSizeMenu" />
    <separator />
    <action name="addViewAction" />
    <action name="closeViewAction" />
    <menuItems name="setStyleSheetMenuItems" />
  </menu>

  <!-- Text size sub-menu ========== -->

  <action name="setLargerTextSizeAction" label="_Larger"
          icon="icons/setLargerTextSizeAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.SetTextSizeAction</class>
    <property name="textSize" type="int" value="LARGER" />
  </action>

  <action name="setSmallerTextSizeAction" label="_Smaller"
          icon="icons/setSmallerTextSizeAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.SetTextSizeAction</class>
    <property name="textSize" type="int" value="SMALLER" />
  </action>

  <action name="setNormalTextSizeAction" label="_Normal"
          icon="icons/setNormalTextSizeAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.SetTextSizeAction</class>
    <property name="textSize" type="int" value="NORMAL" />
  </action>

  <action name="setDefaultTextSizeAction" label="_Use as Default">
    <class>com.xmlmind.xmleditapp.kit.part.SetDefaultTextSizeAction</class>
  </action>

  <menu name="textSizeMenu" label="_Text Size">
    <action name="setLargerTextSizeAction" />
    <action name="setSmallerTextSizeAction" />
    <action name="setNormalTextSizeAction" />
    <separator />
    <action name="setDefaultTextSizeAction" />
  </menu>

  <!-- Image mode sub-menu ========== -->

  <menuItems name="setImageModeMenuItems" count="3">
    <class>com.xmlmind.xmleditapp.kit.part.SetImageModeMenuItems</class>
  </menuItems>

  <action name="setDefaultImageModeAction" label="_Use as Default">
    <class>com.xmlmind.xmleditapp.kit.part.SetDefaultImageModeAction</class>
  </action>

  <menu name="imageModeMenu" label="Display _Images">
    <menuItems name="setImageModeMenuItems" />
    <separator />
    <action name="setDefaultImageModeAction" />
  </menu>

  <menu name="viewMenu"
        insert="ifDefined(XXE.Feature.ImageViewportMode) after textSizeMenu">
    <separator />
    <menu name="imageModeMenu" />
  </menu>

  <!-- Tools menu ======================================================== -->

  <action name="declareNamespaceAction" label="_Declare Namespace..."
          icon="icons/declareNamespaceAction.png">
    <command name="declareNamespace" 
             editingContextSensitive="false" />
  </action>

  <action name="editAttributeAction" label="_Edit Attribute..."
          icon="icons/editAttributePane.png" accelerator="mod E">
    <class>com.xmlmind.xmleditapp.kit.part.EditAttributeAction</class>
  </action>

  <action name="checkValidityAction" label="Check _Validity"
          icon="icons/checkValidityPane.png" accelerator="mod shift V">
    <class>com.xmlmind.xmleditapp.kit.part.CheckValidityAction</class>
  </action>

  <action name="checkSpellingAction" label="Check _Spelling..."
          icon="icons/checkSpellingPane.png" accelerator="mod shift S">
    <class>com.xmlmind.xmleditapp.kit.part.CheckSpellingAction</class>
  </action>

  <action name="toggleAutoSpellCheckAction" label="_Automatic Spell Checker"
          icon="icons/toggleAutoSpellCheckAction.png"
          selectedIcon="icons/toggleAutoSpellCheckAction_selected.png">
    <command name="autoSpellChecker" parameter="toggle"
              selectedParameter="isOn" selectedValue="true"
              editingContextSensitive="false" />
  </action>

  <menu name="toolsMenu" label="_Tools" 
        helpId="toolsMenu">
    <action name="declareNamespaceAction" />
    <separator />
    <action name="editAttributeAction" />
    <separator />
    <action name="checkValidityAction" />
    <separator />
    <action name="checkSpellingAction" />
    <action name="toggleAutoSpellCheckAction" />
    <separator />
    <menu name="helperApplicationMenu" />
  </menu>

  <!-- Tools/Helper Application sub-menu ========== -->

  <action name="openObjectInHelperAppAction" 
          label="_Open Element or Attribute Content in Helper Application..."
          accelerator="mod shift H">
    <command name="viewObject" parameter="[implicitElement]" />
  </action>

  <action name="editObjectInHelperAppAction" 
          label="_Edit Element or Attribute Content in Helper Application...">
    <command name="editObject" parameter="[implicitElement]" />
  </action>

  <action name="openDocInHelperAppAction"
          label="O_pen Document in Helper Application">
    <class>com.xmlmind.xmleditapp.kit.part.OpenDocInHelperAppAction</class>
  </action>

  <action name="editDocInHelperAppAction"
          label="E_dit Document in Helper Application"
          accelerator="mod shift D">
    <class>com.xmlmind.xmleditapp.kit.part.EditDocInHelperAppAction</class>
  </action>

  <menu name="helperApplicationMenu" label="_Helper Application">
    <action name="openObjectInHelperAppAction" />
    <action name="editObjectInHelperAppAction" />
    <separator />
    <action name="openDocInHelperAppAction" />
    <action name="editDocInHelperAppAction" />
  </menu>

  <!-- Tools/Remark sub-menu ========== -->

  <action name="insertOrEditRemarkAction" label="_Insert or Edit Remark"
          icon="icons/insertOrEditRemarkAction.png">
    <command name="remark" />
  </action>

  <action name="deleteRemarkAction" label="_Delete Remark"
          icon="icons/deleteRemarkAction.png">
    <command name="remark" parameter="delete" />
  </action>

  <action name="deleteAllRemarksAction" label="Delete _All Remarks"
          icon="icons/deleteAllRemarksAction.png">
    <command name="remark" parameter="deleteAll" />
  </action>

  <action name="previousRemarkAction" label="Select _Preceding Remark"
          icon="icons/previousRemarkAction.png">
    <command name="remark" parameter="previous" 
             editingContextSensitive="false"/>
  </action>

  <action name="nextRemarkAction" label="Select _Following Remark"
          icon="icons/nextRemarkAction.png">
    <command name="remark" parameter="next" 
             editingContextSensitive="false"/>
  </action>

  <menu name="remarkMenu" label="_Remark">
    <action name="insertOrEditRemarkAction" />
    <separator />
    <action name="deleteRemarkAction" />
    <action name="deleteAllRemarksAction" />
    <separator />
    <action name="previousRemarkAction" />
    <action name="nextRemarkAction" />
  </menu>

  <menu name="toolsMenu"
    insert="ifDefined(XXE.Feature.Remark) helperApplicationMenu">
    <menu name="remarkMenu" />
    <separator />
  </menu>

  <!-- Tools/Record Macro sub-menu ========== -->

  <action name="startRecordingMacroAction" label="_Start Recording">
    <command name="recordMacro" parameter="start" 
             editingContextSensitive="false" />
  </action>

  <action name="stopRecordingMacroAction" label="S_top Recording">
    <command name="recordMacro" parameter="stop" 
             editingContextSensitive="false" />
  </action>

  <action name="cancelRecordingMacroAction" label="_Cancel Recording">
    <command name="recordMacro" parameter="cancel" 
             editingContextSensitive="false" />
  </action>

  <action name="viewRecordedMacroAction" label="_View Macro">
    <command name="recordMacro" parameter="view" 
             editingContextSensitive="false" />
  </action>

  <action name="replayRecordedMacroAction" label="_Replay Macro">
    <command name="recordMacro" parameter="replay" 
             editingContextSensitive="false" />
  </action>

  <menu name="recordMacroMenu" label="Record _Macro">
    <action name="startRecordingMacroAction" />
    <action name="stopRecordingMacroAction" />
    <action name="cancelRecordingMacroAction" />
    <action name="viewRecordedMacroAction" />
    <action name="replayRecordedMacroAction" />
  </menu>

  <action name="executeCommandAction" label="E_xecute Command..." 
          icon="icons/executeCommandAction.png">
    <command name="execute" editingContextSensitive="false" />
  </action>

  <menu name="toolsMenu"
    insert="ifDefined(XXE.Feature.Macro) after helperApplicationMenu">
    <separator />
    <menu name="recordMacroMenu" />
    <action name="executeCommandAction" />
  </menu>

  <!-- Tools/Changes sub-menu ========== -->

  <action name="diffSupportAction" label="_Activate Change Detection">
    <class>com.xmlmind.xmleditapp.app.part.DiffSupportAction</class>
  </action>

  <action name="compareAction" label="_Compare Revisions"
          icon="icons/compareAction.png">
    <class
      implementsCommand="XXE.compare"
    >com.xmlmind.xmleditapp.app.part.CompareAction</class>
  </action>

  <menu name="changesMenu" label="_Changes">
    <action name="diffSupportAction" />
    <separator />
    <action name="compareAction" />
  </menu>

  <menu name="toolsMenu"
    insert="ifDefined(XXE.Feature.Changes) helperApplicationMenu">
    <menu name="changesMenu" />
    <separator />
  </menu>

  <!-- Tools/Spreadsheet sub-menu ========== -->

  <action name="toggleColumnRowLabelsAction" label="_Show Table Labels">
    <command name="showColumnRowLabels" parameter="toggle" 
             selectedParameter="state" selectedValue="true"
             editingContextSensitive="false" />
  </action>

  <action name="setFormulaAction" label="_Insert/Edit Formula">
    <command name="setFormula" />
  </action>

  <action name="disableFormulasAction" label="_Disable Selected Formulas">
    <command name="removeFormulas" parameter="disable" />
  </action>

  <action name="enableFormulasAction" label="_Enable Selected Formulas">
    <command name="removeFormulas" parameter="enable" />
  </action>

  <action name="removeFormulasAction" label="_Remove Selected Formulas">
    <command name="removeFormulas" />
  </action>

  <action name="toggleAutoRecalcAction" label="_Auto-Update Mode">
    <command name="spreadsheet" parameter="toggleAutoRecalc" 
             selectedParameter="isAutoRecalc" selectedValue="true"
             editingContextSensitive="false" />
  </action>

  <action name="recalcAction" label="_Update">
    <command name="spreadsheet" parameter="recalc" 
             editingContextSensitive="false" />
  </action>

  <menu name="spreadsheetMenu" label="S_preadsheet">
    <action name="toggleColumnRowLabelsAction" />
    <separator />
    <action name="setFormulaAction" />
    <action name="disableFormulasAction" />
    <action name="enableFormulasAction" />
    <action name="removeFormulasAction" />
    <separator />
    <action name="toggleAutoRecalcAction" />
    <action name="recalcAction" />
  </menu>

  <menu name="toolsMenu"
    insert="ifDefined(XXE.Feature.Spreadsheet) after helperApplicationMenu">
    <separator />
    <menu name="spreadsheetMenu" />
  </menu>

  <!-- XML menu ========================================================== -->

  <menuItems name="configSpecificMenuItems">
    <class>com.xmlmind.xmleditapp.kit.part.ConfigSpecificMenuItems</class>
  </menuItems>

  <menu name="configSpecificMenu" label="XML" 
        helpId="configSpecificMenu">
    <menuItems name="configSpecificMenuItems" />
  </menu>

  <!-- Window menu ======================================================= -->

  <action name="toggleVerticalSplitAction" label="_Split Windows Vertically">
    <!-- Basically, it's a ToggleOptionAction with
         option=verticalSplit, defaultValue=false. 
         However, this option is immediately applied to 
         the document view area.-->
    <class>com.xmlmind.xmleditapp.app.part.ToggleVerticalSplitAction</class>
  </action>

  <action name="closeAction" label="_Close"
          icon="icons/closeAction.png"
          accelerator="mod shift W">
    <class 
      implementsCommand="XXE.close"
    >com.xmlmind.xmleditapp.kit.part.CloseAction</class>
  </action>

  <action name="closeAllAction" label="Close _All">
    <class>com.xmlmind.xmleditapp.kit.part.CloseAllAction</class>
  </action>

  <action name="precedingWindowAction" label="Show _Preceding"
          accelerator="mod shift P">
    <class>com.xmlmind.xmleditapp.app.part.PrecedingWindowAction</class>
  </action>

  <action name="followingWindowAction" label="Show _Following" 
          accelerator="mod shift N">
    <class>com.xmlmind.xmleditapp.app.part.FollowingWindowAction</class>
  </action>

  <menuItems name="windowListMenuItems">
    <class>com.xmlmind.xmleditapp.app.part.WindowListMenuItems</class>
  </menuItems>

  <menu name="windowMenu" label="_Window" 
        helpId="windowMenu">
    <action name="toggleVerticalSplitAction" />
    <separator />
    <action name="closeAction" />
    <action name="closeAllAction" />
    <separator />
    <action name="precedingWindowAction" />
    <action name="followingWindowAction" />
    <menuItems name="windowListMenuItems" />
  </menu>

  <!-- Options menu ====================================================== -->

  <action name="editPreferencesAction" label="_Preferences..."
          icon="icons/editPreferencesAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.EditPreferencesAction</class>
  </action>

  <action name="installAddonsAction" label="_Install Add-ons..."
          icon="icons/installAddonsAction.png">
    <class>com.xmlmind.xmleditapp.app.part.InstallAddonsAction</class>
  </action>

  <action name="upgradeAddonsAction" label="_Upgrade Add-ons">
    <class>com.xmlmind.xmleditapp.app.part.UpgradeAddonsAction</class>
  </action>

  <menu name="optionsMenu" label="_Options" helpId="optionsMenu">
    <action name="editPreferencesAction" />
  </menu>

  <menu name="optionsMenu"
    insert="ifNotDefined(XXE.WebStart) after editPreferencesAction">
    <separator />
    <action name="installAddonsAction" />
  </menu>

  <!-- Developer tools ========== -->

  <action name="reloadAllConfigurationsAction" 
          label="_Reload All Configurations"
          icon="icons/reloadAllConfigurationsAction.png">
   <class>com.xmlmind.xmleditapp.kit.part.ReloadAllConfigurationsAction</class>
  </action>

  <menu name="optionsMenu"
    insert="ifDefined(XXE.Feature.DeveloperTools) after editPreferencesAction">
    <separator />
    <action name="reloadAllConfigurationsAction" />
  </menu>

  <!-- Customize Configuration sub-menu ========== -->

  <action name="saveAsTemplateAction" 
          label="Save _Document as Template...">
    <class>com.xmlmind.xmleditapp.kit.part.SaveAsTemplateAction</class>
  </action>

  <action name="saveElementAsTemplateAction" 
          label="Save Selected _Element as Template...">
    <class>com.xmlmind.xmleditapp.kit.part.SaveElementAsTemplateAction</class>
  </action>

  <action name="saveWindowLayoutAction" 
          label="Save _Views as Default...">
    <class>com.xmlmind.xmleditapp.app.part.SaveWindowLayoutAction</class>
  </action>

  <action name="addKeyboardShortcutAction" 
          label="Add _Keyboard Shortcut...">
    <class>com.xmlmind.xmleditapp.kit.part.AddKeyboardShortcutAction</class>
  </action>

  <action name="editConversionStylesheetsAction" 
          label="Customize Document Conversion _Stylesheets...">
    <class>com.xmlmind.xmleditapp.kit.part.EditConversionStylesheetsAction</class>
  </action>

  <action name="editConversionParametersAction" 
          label="Change Document _Conversion Parameters...">
    <class>com.xmlmind.xmleditapp.kit.part.EditConversionParametersAction</class>
  </action>

  <menuItems name="customizeConfigMenuItems">
    <class>com.xmlmind.xmleditapp.kit.part.ConfigSpecificMenuItems</class>
    <property name="specificationName" type="String" value="customizeConfig" />
  </menuItems>

  <menu name="customizeConfigurationMenu" label="_Customize Configuration">
    <action name="saveAsTemplateAction" />
    <action name="saveElementAsTemplateAction" />
    <action name="saveWindowLayoutAction" />
    <action name="addKeyboardShortcutAction" />
    <action name="editConversionStylesheetsAction" />
    <action name="editConversionParametersAction" />
    <menuItems name="customizeConfigMenuItems" />
  </menu>

  <menu name="optionsMenu" insert="after editPreferencesAction">
    <separator />
    <menu name="customizeConfigurationMenu" />
  </menu>

  <!-- Help menu ========================================================= -->

  <action name="quickStartAction" label="_Getting Started" >
    <class>com.xmlmind.xmleditapp.app.part.HelpAction</class>
    <property name="helpId" type="String" value="quickstart" />
  </action>

  <action name="showTutorialAction" label="Full _Tutorial"
          icon="icons/showDocumentationAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.ShowDocumentationAction</class>
    <property name="location" type="String" 
              value="http://www.xmlmind.com/xmleditor/tutorial.html" />
  </action>

  <action name="helpAction" label="_Help"
          icon="icons/helpAction.png"
          accelerator="F1" acceleratorOnMac="">
    <class>com.xmlmind.xmleditapp.app.part.HelpAction</class>
  </action>

  <action name="contextualHelpAction" label="H_elp About..."
          icon="icons/contextualHelpAction.png">
    <class>com.xmlmind.xmleditapp.app.part.ContextualHelpAction</class>
  </action>

  <action name="showDocumentationAction" label="Full _Documentation Set"
          icon="icons/showDocumentationAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.ShowDocumentationAction</class>
    <property name="location" type="String" value="index.html" />
  </action>

  <action name="showContentModelAction" 
          label="_Show Content Model" 
          icon="icons/showContentModelAction.png"
	  accelerator="shift F1" acceleratorOnMac="">
    <command name="showContentModel"
             editingContextSensitive="false" />
  </action>

  <action name="checkForUpdatesAction" label="Check for _Updates">
    <class>com.xmlmind.xmleditapp.app.part.CheckForUpdatesAction</class>
  </action>

  <action name="aboutAction" label="_About XMLmind XML Editor"
          icon="icons/aboutAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.AboutAction</class>
  </action>

  <menu name="helpMenu" label="_Help" 
        helpId="helpMenu">
    <action name="quickStartAction" />
    <action name="showTutorialAction" />
    <separator />
    <action name="helpAction" />
    <action name="contextualHelpAction" />
    <action name="showDocumentationAction" />
    <separator />
    <action name="showContentModelAction" />
    <separator />
    <action name="aboutAction" />
  </menu>

  <menu name="helpMenu"
    insert="ifNotDefined(XXE.WebStart) aboutAction">
    <action name="checkForUpdatesAction" />
    <separator />
  </menu>

  <!-- Developer tools ========== -->

  <action name="listPluginsAction" label="_Plug-ins"
          icon="icons/listPluginsAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.ListPluginsAction</class>
  </action>

  <action name="listBindingsAction" label="Mouse and Key _Bindings" 
          icon="icons/listBindingsAction.png">
    <command name="listBindings" editingContextSensitive="false" />
  </action>

  <menu name="helpMenu" 
    insert="ifDefined(XXE.Feature.DeveloperTools) after showContentModelAction">
    <separator />
    <action name="listPluginsAction" />
    <action name="listBindingsAction" />
  </menu>

  <!-- Menu bar ========================================================== -->

  <menuBar name="menuBar" helpId="menuBar">
    <menu name="fileMenu" />
    <menu name="selectMenu" />
    <menu name="editMenu" />
    <menu name="searchMenu" />
    <menu name="viewMenu" />
    <menu name="toolsMenu" />
    <menu name="configSpecificMenu" />
    <menu name="windowMenu" />
    <menu name="optionsMenu" />
    <menu name="helpMenu" />
  </menuBar>

  <!-- Tools ============================================================= -->

  <tool name="nodePathTool" helpId="nodePathTool">
    <class>com.xmlmind.xmleditapp.kit.part.NodePathTool</class>
    <property name="dragEnabled" value="true" type="boolean" />
  </tool>

  <tool name="checkValidityTool" helpId="checkValidityTool">
    <class>com.xmlmind.xmleditapp.kit.part.CheckValidityTool</class>
  </tool>

  <tool name="documentCacheTool" helpId="documentCacheTool">
    <class>com.xmlmind.xmleditapp.kit.part.DocumentCacheTool</class>
    <!--
    <property name="logEvents" value="true" type="boolean" />
    -->
  </tool>

  <tool name="statusTool" helpId="statusTool">
    <class>com.xmlmind.xmleditapp.kit.part.StatusTool</class>
  </tool>

  <tool name="clipboardTool" helpId="clipboardTool">
    <class>com.xmlmind.xmleditapp.kit.part.ClipboardTool</class>
  </tool>

  <tool name="clipboardContentTool" helpId="clipboardContentTool">
    <class>com.xmlmind.xmleditapp.kit.part.ClipboardContentTool</class>
  </tool>

  <!-- Tool bars ========================================================= -->

  <toolBarItems name="configSpecificToolBarItems">
    <class>com.xmlmind.xmleditapp.kit.part.ConfigSpecificToolBarItems</class>
  </toolBarItems>

  <toolBar name="toolBar" helpId="toolBar">
    <action name="newAction" />
    <action name="openAction" />
    <action name="saveAction" />
    <action name="saveAllAction" />
    <separator />
    <action name="undoAction" />
    <action name="redoAction" />
    <action name="repeatAction" />
    <action name="commandHistoryAction" />
    <separator />
    <action name="cutAction" />
    <action name="copyAction" />
    <action name="pasteBeforeAction" />
    <action name="pasteAction" />
    <action name="pasteAfterAction" />
    <action name="deleteAction" />
    <separator />
    <action name="splitAction" />
    <action name="joinAction" />
    <!-- No need to add a separator here. Separator is dynamic too. -->
    <toolBarItems name="configSpecificToolBarItems" />
  </toolBar>

  <toolBar name="toolBar"
    insert="ifDefined(XXE.Feature.Remark) after joinAction">
    <separator />
    <action name="insertOrEditRemarkAction" />
  </toolBar>

  <toolBar name="selectToolBar" helpId="selectToolBar">
    <action name="findElementAction" />
    <separator />
    <action name="goBackAction" />
    <action name="goForwardAction" />
  </toolBar>

  <!-- Status bars ======================================================= -->

  <action name="showLogAction" toolTip="Show Message Log"
          icon="icons/showLogAction.png">
    <class>com.xmlmind.xmleditapp.kit.part.ShowLogAction</class>
  </action>

  <action name="toggleOverwriteModeAction" toolTip="Overwrite"
          label="Overwrite">
    <!-- Corresponds to command="overwriteMode" parameter="toggle"
         selectedParameter="isOn" selectedValue="true".
         However a Java-coded action is required because of special 
         icon and selectedIcon. -->
    <class>com.xmlmind.xmleditapp.kit.part.ToggleOverwriteModeAction</class>
  </action>

  <statusBar name="statusBar" helpId="statusBar">
    <tool name="checkValidityTool" />
    <separator />
    <tool name="statusTool" stretch="1" />
    <action name="showLogAction" />
    <separator />
    <action name="toggleAutoSpellCheckAction" />
    <separator />
    <action name="toggleOverwriteModeAction" />
    <separator />
    <tool name="clipboardTool" />
    <tool name="clipboardContentTool" />
  </statusBar>

  <statusBar name="statusBar"
             insert="ifDefined(XXE.Feature.DocumentCacheTool) statusTool">
    <tool name="documentCacheTool" />
  </statusBar>

  <!-- Panes ============================================================= -->

  <pane name="editPane" label="Edit"
        icon="icons/editPane.png" 
        helpId="editPane">
    <class>com.xmlmind.xmleditapp.kit.part.EditPane</class>

    <!-- Requires:
         * Special versions of replace, insert, convert, wrap.
         * replaceAction, insertBeforeAction, insertAction, insertAfterAction,
           convertAction, wrapAction. -->
  </pane>

  <pane name="includePane" label="Include"
        icon="icons/includePane.png" 
        helpId="includePane">
    <class>com.xmlmind.xmleditapp.kit.part.IncludePane</class>

    <!-- Requires:
         * Special version of command include.
         * includeReplaceAction, 
           includeBeforeAction, includeAction, includeAfterAction. -->
  </pane>

  <pane name="editAttributePane" label="Attributes"
        icon="icons/editAttributePane.png" 
        helpId="editAttributePane">
    <class>com.xmlmind.xmleditapp.kit.part.EditAttributePane</class>
  </pane>

  <pane name="textSearchReplacePane" label="Search" 
        icon="icons/textSearchReplacePane.png" 
        helpId="textSearchReplacePane">
    <class>com.xmlmind.xmleditapp.kit.part.TextSearchReplacePane</class>
  </pane>

  <pane name="checkSpellingPane" label="Spell"
        icon="icons/checkSpellingPane.png" 
        helpId="checkSpellingPane">
    <class>com.xmlmind.xmleditapp.kit.part.CheckSpellingPane</class>
  </pane>

  <pane name="insertCharacterPane" label="Characters" 
        icon="icons/insertCharacterPane.png" 
        helpId="insertCharacterPane">
    <class>com.xmlmind.xmleditapp.kit.part.InsertCharacterPane</class>
  </pane>

  <pane name="checkValidityPane" label="Validity"
        icon="icons/checkValidityPane.png" 
        helpId="checkValidityPane">
    <class>com.xmlmind.xmleditapp.kit.part.CheckValidityPane</class>
  </pane>

  <!-- Preferences sheets ================================================ -->

  <preferencesSheet name="newOptions">
    <class>com.xmlmind.xmleditapp.kit.prefsheet.NewOptions</class>
  </preferencesSheet>

  <preferencesSheet name="editOptions">
    <class>com.xmlmind.xmleditapp.kit.prefsheet.EditOptions</class>
  </preferencesSheet>

  <preferencesSheet name="openOptions">
    <class>com.xmlmind.xmleditapp.kit.prefsheet.OpenOptions</class>
  </preferencesSheet>

  <preferencesSheet name="printOptions">
    <class>com.xmlmind.xmleditapp.kit.prefsheet.PrintOptions</class>
  </preferencesSheet>

  <preferencesSheet name="saveOptions">
    <class>com.xmlmind.xmleditapp.kit.prefsheet.SaveOptions</class>
  </preferencesSheet>

  <preferencesSheet name="validateOptions">
    <class>com.xmlmind.xmleditapp.kit.prefsheet.ValidateOptions</class>
  </preferencesSheet>

  <preferencesSheet name="spellOptions">
    <class>com.xmlmind.xmleditapp.kit.prefsheet.SpellOptions</class>
  </preferencesSheet>

  <preferencesSheet name="documentSetOptions">
    <class>com.xmlmind.xmleditapp.app.prefsheet.DocumentSetOptions</class>
  </preferencesSheet>

  <preferencesSheet name="helperApplicationsOptions">
    <class>com.xmlmind.xmleditapp.kit.prefsheet.HelperApplicationsOptions</class>
  </preferencesSheet>

  <preferencesSheet name="viewOptions">
    <class>com.xmlmind.xmleditapp.kit.prefsheet.ViewOptions</class>
  </preferencesSheet>

  <preferencesSheet name="generalOptions">
    <class>com.xmlmind.xmleditapp.app.prefsheet.GeneralOptions</class>
  </preferencesSheet>

  <preferencesSheet name="featuresOptions">
    <class>com.xmlmind.xmleditapp.app.prefsheet.FeaturesOptions</class>
  </preferencesSheet>

  <preferencesSheet name="windowOptions">
    <class>com.xmlmind.xmleditapp.app.prefsheet.WindowOptions</class>
  </preferencesSheet>

  <preferencesSheet name="installAddonsOptions">
    <class>com.xmlmind.xmleditapp.app.prefsheet.InstallAddonsOptions</class>
  </preferencesSheet>

  <preferencesSheet name="cacheOptions">
    <class>com.xmlmind.xmleditapp.kit.prefsheet.CacheOptions</class>
  </preferencesSheet>

  <preferencesSheet name="proxiesOptions">
    <class>com.xmlmind.netutil.ProxiesOptions</class>
  </preferencesSheet>

  <preferencesSheets name="preferencesSheets">
    <preferencesSheet name="newOptions" />
    <preferencesSheet name="openOptions" />
    <preferencesSheet name="saveOptions" />
    <preferencesSheet name="printOptions" />
    <preferencesSheet name="editOptions" />
    <preferencesSheet name="viewOptions" />
    <preferencesSheet name="tools" label="Tools">
      <preferencesSheet name="validateOptions" />
      <preferencesSheet name="spellOptions" />
      <preferencesSheet name="helperApplicationsOptions" />
    </preferencesSheet>
    <preferencesSheet name="windowOptions" />
    <preferencesSheet name="generalOptions">
      <preferencesSheet name="featuresOptions" />
    </preferencesSheet>
    <preferencesSheet name="advancedOptions" label="Advanced">
      <preferencesSheet name="cacheOptions" />
    </preferencesSheet>
  </preferencesSheets>

  <preferencesSheets name="preferencesSheets"
    insert="ifDefined(XXE.Feature.OpenDocumentSet) into openOptions">
    <preferencesSheet name="documentSetOptions" />
  </preferencesSheets>

  <preferencesSheets name="preferencesSheets"
    insert="ifNotDefined(XXE.WebStart) after windowOptions">
    <preferencesSheet name="installAddonsOptions" />
  </preferencesSheets>

  <preferencesSheets name="preferencesSheets"
    insert="ifNotDefined(XXE.WebStart) after cacheOptions">
    <!-- proxiesOptions not needed when XXE is started using Java web Start -->
    <preferencesSheet name="proxiesOptions" />
  </preferencesSheets>

  <!-- Web Search options ========== -->

  <preferencesSheet name="webSearchOptions">
    <class>com.xmlmind.xmleditapp.app.prefsheet.WebSearchOptions</class>
  </preferencesSheet>

  <preferencesSheets name="preferencesSheets"
    insert="ifDefined(XXE.Feature.WebSearch) viewOptions">
    <preferencesSheet name="webSearchOptions" />
  </preferencesSheets>

  <!-- Changes options ========== -->

  <preferencesSheet name="changesOptions">
    <class>com.xmlmind.xmleditapp.app.prefsheet.ChangesOptions</class>
  </preferencesSheet>

  <preferencesSheets name="preferencesSheets"
    insert="ifDefined(XXE.Feature.Changes) helperApplicationsOptions">
    <preferencesSheet name="changesOptions" />
  </preferencesSheets>

  <!-- Spreadsheet options ========== -->

  <preferencesSheet name="spreadsheetOptions">
    <class>com.xmlmind.xmleditapp.kit.prefsheet.SpreadsheetOptions</class>
  </preferencesSheet>

  <preferencesSheets name="preferencesSheets"
    insert="ifDefined(XXE.Feature.Spreadsheet) after helperApplicationsOptions">
    <preferencesSheet name="spreadsheetOptions" />
  </preferencesSheets>

  <!-- Hidden parts ====================================================== -->

  <part name="editOptionsPart">
    <class>com.xmlmind.xmleditapp.kit.part.EditOptionsPart</class>
  </part>

  <part name="viewOptionsPart">
    <class>com.xmlmind.xmleditapp.kit.part.ViewOptionsPart</class>
  </part>

  <part name="spellOptionsPart">
    <class>com.xmlmind.xmleditapp.kit.part.SpellOptionsPart</class>
  </part>

  <part name="helperApplicationsOptionsPart">
    <class>com.xmlmind.xmleditapp.kit.part.HelperApplicationsOptionsPart</class>
  </part>

  <part name="autoSavePart">
    <class>com.xmlmind.xmleditapp.kit.part.AutoSavePart</class>
  </part>

  <part name="spreadsheetOptionsPart">
    <class>com.xmlmind.xmleditapp.kit.part.SpreadsheetOptionsPart</class>
  </part>

  <!-- Commands ========================================================== -->

  <!-- These are required to be able to use editPane -->
  <command name="replace">
    <class>com.xmlmind.xmleditapp.kit.part.ReplaceCmd</class>
  </command>

  <command name="insert">
    <class>com.xmlmind.xmleditapp.kit.part.InsertCmd</class>
  </command>

  <command name="convert">
    <class>com.xmlmind.xmleditapp.kit.part.ConvertCmd</class>
  </command>

  <command name="wrap">
    <class>com.xmlmind.xmleditapp.kit.part.WrapCmd</class>
  </command>

  <!-- Required to be able to use includePane. -->
  <command name="include">
    <class>com.xmlmind.xmleditapp.kit.part.IncludeCmd</class>
  </command>

  <!-- Layout ============================================================ -->

  <layout width="900" height="700">
    <menuBar name="menuBar" />

    <topToolBars>
      <toolBar name="toolBar" />
      <group>
        <tool name="nodePathTool" stretch="1" />
        <toolBar name="selectToolBar" />
      </group>
    </topToolBars>

    <bottomToolBars>
      <statusBar name="statusBar" />
    </bottomToolBars>

    <rightPanes width="0.33" topHeight="0.33">
      <pane name="editPane" selected="true" />
      <pane name="editAttributePane" position="bottom" selected="true" />
      <pane name="textSearchReplacePane" position="bottom" />
      <pane name="checkSpellingPane" position="bottom" />
      <pane name="insertCharacterPane" position="bottom" />
      <pane name="checkValidityPane" position="bottom" />
    </rightPanes>

    <preferencesSheets name="preferencesSheets" />

    <hidden>
      <!-- These are required to be able to use editPane -->
      <command name="replace" />
      <command name="insert" />
      <command name="convert" />
      <command name="wrap" />

      <part name="editOptionsPart" />
      <part name="viewOptionsPart" />
      <part name="spellOptionsPart" />
      <part name="helperApplicationsOptionsPart" />

      <part name="autoSavePart" />

      <!-- Required by setStyleSheetMenuItems -->
      <action name="setStyleSheetAction" />
      <!-- Required by installAddonsAction -->
      <action name="upgradeAddonsAction" />
    </hidden>
  </layout>

  <layout>
    <rightPanes insert="ifDefined(XXE.Feature.IncludeTool) after editPane">
      <pane name="includePane" />
    </rightPanes>

    <hidden
      insert="ifDefined(XXE.Feature.IncludeTool) after autoSavePart">
      <command name="include" />
    </hidden>
  </layout>

  <layout>
    <hidden
      insert="ifDefined(XXE.Feature.Spreadsheet) after setStyleSheetAction">
      <part name="spreadsheetOptionsPart" />
    </hidden>
  </layout>

</gui>
