home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 March / PCWorld_2007-03_cd.bin / komunikace / nvu / nvu-1.0-cs-CZ.win32.installer.exe / chrome / toolkit.jar / content / global / editMenuOverlay.xul < prev    next >
Extensible Markup Language  |  2004-09-16  |  6KB  |  102 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: HTML -*- --> 
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
  3.  
  4. <!DOCTYPE overlay SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
  5.  
  6. <overlay id="editMenuOverlay"
  7.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  8.  
  9.   <script type="application/x-javascript" src="chrome://global/content/editMenuOverlay.js"/>
  10.  
  11.   <commandset id="editMenuCommands">
  12.     <commandset id="editMenuCommandSetAll" commandupdater="true" events="focus,select"
  13.                 oncommandupdate="goUpdateGlobalEditMenuItems()"/>
  14.     <commandset id="editMenuCommandSetUndo" commandupdater="true" events="undo"
  15.                 oncommandupdate="goUpdateUndoEditMenuItems()"/>
  16.     <commandset id="editMenuCommandSetPaste" commandupdater="true" events="clipboard"
  17.                 oncommandupdate="goUpdatePasteMenuItems()"/>
  18.     <command id="cmd_undo" oncommand="goDoCommand('cmd_undo')"/>
  19.     <command id="cmd_redo" oncommand="goDoCommand('cmd_redo')"/>
  20.     <command id="cmd_cut" oncommand="goDoCommand('cmd_cut')"/>
  21.     <command id="cmd_copy" oncommand="goDoCommand('cmd_copy')"/>
  22.     <command id="cmd_paste" oncommand="goDoCommand('cmd_paste')"/>
  23.     <command id="cmd_delete" oncommand="goDoCommand('cmd_delete')"/>
  24.     <command id="cmd_selectAll" oncommand="goDoCommand('cmd_selectAll')"/>
  25.   </commandset>
  26.  
  27.   <!-- These key nodes are here only for show. The real bindings come from
  28.        XBL, in platformHTMLBindings.xml. See bugs 57078 and 71779. -->
  29.  
  30.   <keyset id="editMenuKeys">
  31.     <key id="key_undo" key="&undoCmd.key;" modifiers="accel" command="cmd_undo"/>
  32.     <key id="key_redo" key="&redoCmd.key;" modifiers="accel" command="cmd_redo"/>
  33.     <key id="key_cut" key="&cutCmd.key;" modifiers="accel" command="cmd_cut"/>
  34.     <key id="key_copy" key="©Cmd.key;" modifiers="accel" command="cmd_copy"/>
  35.     <key id="key_paste" key="&pasteCmd.key;" modifiers="accel" command="cmd_paste"/>
  36.     <key id="key_delete" key="&deleteCmd.key;" modifiers="accel" command="cmd_delete"/>
  37.     <key id="key_delete2" keycode="VK_DELETE" command="cmd_delete"/>
  38.     <key id="key_selectAll" key="&selectAllCmd.key;" modifiers="accel" command="cmd_selectAll"/>
  39.     <key id="key_find" key="&findCmd.key;" modifiers="accel" command="cmd_find"/>
  40.     <key id="key_findAgain" key="&findAgainCmd.key;" modifiers="accel" command="cmd_findAgain"/>
  41.     <key id="key_findPrevious" key="&findAgainCmd.key;" modifiers="shift,accel" command="cmd_findPrevious"/>
  42.     <key id="key_findAgain2" keycode="&findAgainCmd.key2;" command="cmd_findAgain"/>
  43.     <key id="key_findPrevious2" keycode="&findAgainCmd.key2;" modifiers="shift" command="cmd_findPrevious"/>
  44.   </keyset>
  45.  
  46.   <!-- Edit Menu -->
  47.   <menu id="menu_edit" label="&editMenu.label;"
  48.         accesskey="&editMenu.accesskey;"/>
  49.  
  50.   <menuitem id="menu_undo" label="&undoCmd.label;"
  51.             key="key_undo" accesskey="&undoCmd.accesskey;"
  52.             command="cmd_undo"/>
  53.   <menuitem id="menu_redo" label="&redoCmd.label;"
  54.             key="key_redo" accesskey="&redoCmd.accesskey;"
  55.             command="cmd_redo"/>
  56.   <menuitem id="menu_cut" label="&cutCmd.label;"
  57.             key="key_cut" accesskey="&cutCmd.accesskey;"
  58.             command="cmd_cut"/>
  59.   <menuitem id="menu_copy" label="©Cmd.label;"
  60.             key="key_copy" accesskey="©Cmd.accesskey;"
  61.             command="cmd_copy"/>
  62.   <menuitem id="menu_paste" label="&pasteCmd.label;"
  63.             key="key_paste" accesskey="&pasteCmd.accesskey;"
  64.             command="cmd_paste"/>
  65.   <menuitem id="menu_delete" label="&deleteCmd.label;"
  66.             key="key_delete" accesskey="&deleteCmd.accesskey;"
  67.             command="cmd_delete"/>
  68.   <menuitem id="menu_selectAll" label="&selectAllCmd.label;"
  69.             key="key_selectAll" accesskey="&selectAllCmd.accesskey;"
  70.             command="cmd_selectAll"/>
  71.   <menuitem id="menu_find" label="&findCmd.label;"
  72.             key="key_find" accesskey="&findCmd.accesskey;"
  73.             command="cmd_find"/>
  74.   <menuitem id="menu_findAgain" label="&findAgainCmd.label;"
  75.             key="key_findAgain" accesskey="&findAgainCmd.accesskey;"
  76.             command="cmd_findAgain"/>
  77.   <menuitem id="menu_findPrevious" label="&findPreviousCmd.label;"
  78.             key="key_findPrevious" accesskey="&findPreviousCmd.accesskey;"
  79.             command="cmd_findPrevious"/>
  80.  
  81.   <menuitem id="cMenu_undo" label="&undoCmd.label;"
  82.             accesskey="&undoCmd.accesskey;" command="cmd_undo"/>
  83.   <menuitem id="cMenu_redo" label="&redoCmd.label;"
  84.             accesskey="&redoCmd.accesskey;" command="cmd_redo"/>
  85.   <menuitem id="cMenu_cut" label="&cutCmd.label;"
  86.             accesskey="&cutCmd.accesskey;" command="cmd_cut"/>
  87.   <menuitem id="cMenu_copy" label="©Cmd.label;"
  88.             accesskey="©Cmd.accesskey;" command="cmd_copy"/>
  89.   <menuitem id="cMenu_paste" label="&pasteCmd.label;"
  90.             accesskey="&pasteCmd.accesskey;" command="cmd_paste"/>
  91.   <menuitem id="cMenu_delete" label="&deleteCmd.label;"
  92.             accesskey="&deleteCmd.accesskey;" command="cmd_delete"/>
  93.   <menuitem id="cMenu_selectAll" label="&selectAllCmd.label;"
  94.             accesskey="&selectAllCmd.accesskey;" command="cmd_selectAll"/>
  95.   <menuitem id="cMenu_find" label="&findCmd.label;"
  96.             accesskey="&findCmd.accesskey;" command="cmd_find"/>
  97.   <menuitem id="cMenu_findAgain" label="&findAgainCmd.label;"
  98.             accesskey="&findAgainCmd.accesskey;" command="cmd_findAgain"/>
  99.   <menuitem id="cMenu_findPrevious" label="&findPreviousCmd.label;"
  100.             accesskey="&findPreviousCmd.accesskey;" command="cmd_findPrevious"/>
  101. </overlay>
  102.