home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / mozil06.zip / bin / chrome / messenger.jar / content / messenger / addressbook / abResultsTreeOverlay.xul < prev    next >
Extensible Markup Language  |  2001-02-14  |  4KB  |  80 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.  
  22. <!DOCTYPE window SYSTEM "chrome://messenger/locale/addressbook/abResultsTreeOverlay.dtd">
  23.  
  24.  
  25. <overlay xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  26.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  27.  
  28.     <!-- FIX ME - remove document.commandDispatcher.updateCommands() when tree selection calls this automatically -->
  29.     <tree id="resultsTree"
  30.           class="abResults" 
  31.           datasources="rdf:addressdirectory rdf:addresscard"
  32.           onselect="top.ResultsPaneSelectionChange(); document.commandDispatcher.updateCommands('tree-select');"
  33.           onblur="goOnEvent(this,'blur')"
  34.           onclick="clickResultsTree(event);"
  35.           containment="http://home.netscape.com/NC-rdf#CardChild"
  36.           allownegativeassertions="false"
  37.           coalesceduplicatearcs="false"
  38.           ondragover="return DragOverTree(event);"
  39.           ondraggesture="return BeginDragResultTree(event);"
  40.           ondragdrop="return DropOnResultTree(event);"
  41.           multiple="true">
  42.  
  43.         <template>
  44.             <rule>
  45.                 <treechildren flex="1">
  46.                     <treeitem uri="...">
  47.                         <treerow id="AbRows">
  48.                             <treecell class="treecell-iconic cardicon" value="rdf:http://home.netscape.com/NC-rdf#Name"/>
  49.                             <treecell value="rdf:http://home.netscape.com/NC-rdf#PrimaryEmail"/>
  50.                             <treecell value="rdf:http://home.netscape.com/NC-rdf#WorkPhone"/>
  51.                             <treecell value="rdf:http://home.netscape.com/NC-rdf#Company"/>
  52.                         </treerow>
  53.                     </treeitem>
  54.                 </treechildren>
  55.             </rule>
  56.         </template>
  57.  
  58.         <treecolgroup id="theColumns">
  59.             <treecol persist="hidden width"  flex="2" id="NameColumn" resource="http://home.netscape.com/NC-rdf#Name"/>
  60.             <splitter class="tree-splitter"/>
  61.             <treecol persist="hidden width" flex="3" id="EmailColumn" resource="http://home.netscape.com/NC-rdf#PrimaryEmail"/>
  62.             <splitter class="tree-splitter"/>
  63.             <treecol persist="hidden width"  flex="2" id="WorkPhoneColumn" resource="http://home.netscape.com/NC-rdf#WorkPhone"/>
  64.             <splitter class="tree-splitter"/>
  65.             <treecol persist="hidden width"  flex="2" id="OrganizationColumn" resource="http://home.netscape.com/NC-rdf#Company"/>
  66.         </treecolgroup>
  67.         
  68.         <treehead>
  69.             <treerow id="headRow">
  70.                 <treecell id="NameColumnHeader" value="&nameColumn.label;" class="sortDirectionIndicator treecell-header treecell-inset-header" onclick="return top.SortResultPane('NameColumn', 'http://home.netscape.com/NC-rdf#Name');"/>
  71.                 <treecell id="EmailColumnHeader" value="&emailColumn.label;" class="sortDirectionIndicator treecell-header treecell-inset-header" onclick="return top.SortResultPane('EmailColumn', 'http://home.netscape.com/NC-rdf#PrimaryEmail');"/>
  72.                 <treecell id="WorkPhoneColumnHeader" value="&workPhoneColumn.label;" class="sortDirectionIndicator treecell-header treecell-inset-header" onclick="return top.SortResultPane('WorkPhoneColumn', 'http://home.netscape.com/NC-rdf#WorkPhone');"/>
  73.                 <treecell id="OrganizationColumnHeader" value="&organizationColumn.label;" class="sortDirectionIndicator treecell-header treecell-inset-header" onclick="return top.SortResultPane('OrganizationColumn', 'http://home.netscape.com/NC-rdf#Company');"/>
  74.             </treerow>
  75.         </treehead>
  76.  
  77.     </tree>
  78.  
  79. </overlay>
  80.