home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / comm.jar / content / editor / EdDictionary.xul < prev    next >
Encoding:
Extensible Markup Language  |  2001-07-09  |  3.0 KB  |  76 lines

  1. <?xml version="1.0"?>
  2. <!--
  3.    - The contents of this file are subject to the Netscape Public
  4.    - License Version 1.1 (the "License"); you may not use this file
  5.    - except in compliance with the License. You may obtain a copy of
  6.    - the License at http://www.mozilla.org/NPL/
  7.    -  
  8.    - Software distributed under the License is distributed on an "AS
  9.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.    - implied. See the License for the specific language governing
  11.    - rights and limitations under the License.
  12.    -  
  13.    - The Original Code is Mozilla Communicator client code, released
  14.    - March 31, 1998.
  15.    - 
  16.    - The Initial Developer of the Original Code is Netscape
  17.    - Communications Corporation. Portions created by Netscape are
  18.    - Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19.    - Rights Reserved.
  20.    - 
  21.    - Contributor(s): 
  22.   -->
  23.  
  24. <?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
  25. <?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
  26. <!DOCTYPE window SYSTEM "chrome://editor/locale/EditorPersonalDictionary.dtd">
  27. <window class="dialog" title="&windowTitle.label;"
  28.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  29.     xmlns:html="http://www.w3.org/1999/xhtml"
  30.     onload = "Startup()"
  31.     orient="vertical">
  32.  
  33.   <!-- Methods common to all editor dialogs -->
  34.   <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  35.   <script type="application/x-javascript" src="chrome://editor/content/EdDictionary.js"/>
  36.   
  37.   <broadcaster id="args" value=""/>
  38.   <spring id="location" offsetX="10" offsetY="10" persist="offsetX offsetY"/>
  39.   <keyset id="keys">
  40.     <key keycode="VK_ENTER"  oncommand="Close()"/>
  41.     <key keycode="VK_RETURN" oncommand="Close()"/>
  42.     <key keycode="VK_ESCAPE" oncommand="Close()"/>
  43.   </keyset>
  44.  
  45.   <grid>
  46.     <columns><column style="width: 15em" flex="1"/><column flex="1"/></columns>
  47.     <rows>
  48.       <row>
  49.         <text class="label" value="&wordEditField.label;"/>
  50.         <spring/>
  51.       </row>
  52.       <row>
  53.         <textbox id="WordInput" flex="1"/>
  54.         <button class="dialog" flex="1" id="AddWord" oncommand="AddWord()" label="&AddButton.label;"/>
  55.       </row>
  56.       <row>
  57.         <text class="label" value="&DictionaryList.label;"/>
  58.         <spring/>
  59.       </row>
  60.       <row>
  61.         <tree rows="8" class="list" id="DictionaryList" flex="1">
  62.           <treecolgroup><treecol flex="1"/></treecolgroup>
  63.         </tree>
  64.         <vbox flex="1">
  65.           <button class="dialog"  id="ReplaceWord" oncommand="ReplaceWord()" label="&ReplaceButton.label;"/>
  66.           <spring class="spacer"/>
  67.           <button class="dialog"  id="RemoveWord" oncommand="RemoveWord()" label="&RemoveButton.label;"/>
  68.           <spring class="spacer"/>
  69.           <spring flex="1"/>
  70.           <button class="exit-dialog" id="close" label="&CloseButton.label;" default="true" oncommand="Close();"/>  
  71.         </vbox>
  72.       </row>
  73.     </rows>
  74.   </grid>
  75. </window>
  76.