<?xml version="1.0"?>
<!DOCTYPE overlay [
  <!ENTITY % verbosioOverlay SYSTEM "chrome://verbosio/locale/verbosioApp.dtd">
  %verbosioOverlay;
  <!ENTITY % commonDTD SYSTEM "chrome://verbosio/content/verbosio.dtd">
  %commonDTD;
]>

<overlay xmlns="&XUL_NS;">
  <commandset id="globalCommands">
    <command id="app-command-edit-testing"
             oncommand="editVerbosioApp('testing');"
            />
    <command id="app-command-launch-testing"
             oncommand="launchVerbosioApp('testing');"
            />
    <command id="app-command-edit-verbosio.xul"
             oncommand="editVerbosioDotXUL();"
            />
  </commandset>

  <box id="scriptsContainer">
    <script type="&JS_TYPE;"
            src="chrome://verbosio/content/appOverlay.js"
           />
  </box>

  <stringbundleset id="stringbundlesets">
    <stringbundle id="verbosioAppProperties"
                  src="chrome://verbosio/content/app.properties"
                 />
    <stringbundle id="verbosioAppLocale"
                  src="chrome://verbosio/locale/verbosioApp.properties"
                 />
  </stringbundleset>

  <menubar id="commonOperations">
    <menu label="&verbosio.applications.menu;">
      <menupopup>
        <menuitem id="app-item-launch-testing"
                  command="app-command-edit-testing"
                  label="&verbosio.edit.testing;"
                 />
        <menuitem id="app-item-edit-verbosio.xul"
                  command="app-command-edit-verbosio.xul"
                  label="Open testing verbosio.xul"
                 />
        <menuseparator/>
        <menuitem id="app-run-active-test"
                  oncommand="xeTestEngine.runActiveTest();"
                  label="&verbosio.tests.runActive;"
                 />
        <menuitem id="app-run-active-test"
                  oncommand="xeTestEngine.runAllTests();"
                  label="&verbosio.tests.runAll;"
                 />
      </menupopup>
    </menu>
  </menubar>
</overlay>
