home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / messenger.jar / content / messenger / addressbook / abDirTreeOverlay.xul < prev    next >
Extensible Markup Language  |  2005-07-29  |  4KB  |  89 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. Contributors:
  22.   Seth Spitzer <sspitzer@netscape.com>
  23. --> 
  24.  
  25. <?xml-stylesheet href="chrome://messenger/skin/addressbook/addressPanes.css" type="text/css"?>
  26.  
  27. <!DOCTYPE overlay SYSTEM "chrome://messenger/locale/addressbook/abDirTreeOverlay.dtd">
  28.  
  29. <overlay xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  30.      xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  31.  
  32. <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
  33. <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  34. <script type="application/x-javascript" src="chrome://messenger/content/addressbook/abDragDrop.js"/>
  35.  
  36.   <!-- FIX ME - remove document.commandDispatcher.updateCommands() when tree selection calls this automatically -->
  37.   <tree id="dirTree" class="abDirectory plain" seltype="single"
  38.       datasources="rdf:addressdirectory" ref="moz-abdirectory://"
  39.       flags="dont-build-content"
  40.       hidecolumnpicker="true"
  41.       onselect="DirPaneSelectionChange(); document.commandDispatcher.updateCommands('addrbook-select');"
  42.       ondblclick="DirPaneDoubleClick(event);"
  43.       onblur="goOnEvent(this,'blur')">
  44.  
  45.     <treecols>
  46.       <treecol id="DirCol" flex="1" primary="true" label="&dirTreeHeader.label;"
  47.                crop="center" persist="width" ignoreincolumnpicker="true"
  48.                sort="?DirTreeNameSort" sortActive="true" sortDirection="ascending"/>
  49.     </treecols>
  50.     
  51.     <template>
  52.       <rule>
  53.         <conditions>
  54.           <content uri="?container"/>
  55.           <member container="?container" child="?member"/>
  56.         </conditions>
  57.  
  58.         <bindings>
  59.           <binding subject="?member"
  60.                    predicate="http://home.netscape.com/NC-rdf#DirName"
  61.                    object="?DirName"/>
  62.           <binding subject="?member"
  63.                    predicate="http://home.netscape.com/NC-rdf#DirTreeNameSort"
  64.                    object="?DirTreeNameSort"/>
  65.           <binding subject="?member"
  66.                    predicate="http://home.netscape.com/NC-rdf#IsMailList"
  67.                    object="?IsMailList"/>
  68.           <binding subject="?member"
  69.                    predicate="http://home.netscape.com/NC-rdf#IsRemote"
  70.                    object="?IsRemote"/>
  71.           <binding subject="?member"
  72.                    predicate="http://home.netscape.com/NC-rdf#IsSecure"
  73.                    object="?IsSecure"/>
  74.         </bindings>
  75.         
  76.         <action>
  77.           <treechildren>
  78.             <treeitem uri="?member" persist="sortDirection sortColumn open">
  79.               <treerow>
  80.                 <treecell label="?DirName" properties="IsMailList-?IsMailList IsRemote-?IsRemote IsSecure-?IsSecure"/>
  81.               </treerow>
  82.             </treeitem>
  83.           </treechildren>
  84.         </action>
  85.       </rule>
  86.     </template>
  87.   </tree>
  88. </overlay>
  89.