home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / mozil06.zip / bin / chrome / messenger.jar / content / messenger / threadPane.xul < prev    next >
Extensible Markup Language  |  2001-02-14  |  9KB  |  130 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://messenger/skin/threadPane.css" type="text/css"?>
  4.  
  5. <!--
  6. The contents of this file are subject to the Netscape Public
  7. License Version 1.1 (the "License"); you may not use this file
  8. except in compliance with the License. You may obtain a copy of
  9. the License at http://www.mozilla.org/NPL/
  10.  
  11. Software distributed under the License is distributed on an "AS
  12. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  13. implied. See the License for the specific language governing
  14. rights and limitations under the License.
  15.  
  16. The Original Code is Mozilla Communicator client code, released
  17. March 31, 1998.
  18.  
  19. The Initial Developer of the Original Code is Netscape
  20. Communications Corporation. Portions created by Netscape are
  21.  Copyright (C) 1998-1999 Netscape Communications Corporation. All
  22. Rights Reserved.
  23. -->
  24.  
  25. <!DOCTYPE window SYSTEM "chrome://messenger/locale/threadpane.dtd">
  26.  
  27. <overlay
  28.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  29. >
  30.  
  31. <script src="chrome://global/content/treePopups.js"/>
  32. <script src="chrome://messenger/content/threadPane.js"/>
  33.  
  34. <tree datasources="rdf:null" id="threadTree"
  35.               class="window-focusborder"
  36.               onclick="ThreadPaneOnClick(event);"
  37.               ondraggesture="return BeginDragThreadTree(event);"
  38.               ondragdrop="return DropOnThreadTree(event);" 
  39.                 onselect="top.ThreadPaneSelectionChange();"
  40.               onkeypress="ThreadPaneKeyPress(event);"
  41.               onblur="goOnEvent(this,'blur')"
  42.               containment="http://home.netscape.com/NC-rdf#MessageChild"
  43.               allownegativeassertions="false"
  44.               coalesceduplicatearcs="false"
  45.               multiple="true">
  46.        
  47.   <template>
  48.       <rule>
  49.     <treechildren flex="1">
  50.         <treeitem uri="..." id="threadTreeTemplateTreeItem">
  51.  
  52.               <treerow class="tree-thread-row unread-rdf:http://home.netscape.com/NC-rdf#IsUnread" >
  53.                 <treecell class="treecell-image threadcol-rdf:http://home.netscape.com/NC-rdf#ThreadState"/>
  54.                 <treecell class="treecell-indent tree-cell-threadpane-icon status-rdf:http://home.netscape.com/NC-rdf#Status message-type-rdf:http://home.netscape.com/NC-rdf#MessageType has-attachment-rdf:http://home.netscape.com/NC-rdf#HasAttachment is-imap-deleted-rdf:http://home.netscape.com/NC-rdf#IsImapDeleted"
  55.                   value="rdf:http://home.netscape.com/NC-rdf#Subject" />
  56.                 <treecell class="treecell-text" value="rdf:http://home.netscape.com/NC-rdf#Sender" id ="SenderColumnTemplate"/>
  57.                 <treecell class="treecell-image unreadcol-rdf:http://home.netscape.com/NC-rdf#IsUnread" 
  58.                   allowevents="true" />
  59.                 <treecell class="treecell-text" value="rdf:http://home.netscape.com/NC-rdf#Date"/>
  60.                 <treecell class="tree-cell-image prioritycol-rdf:http://home.netscape.com/NC-rdf#Priority"
  61.                   value="rdf:http://home.netscape.com/NC-rdf#PriorityString"/>
  62.                 <treecell class="treecell-image flagcol-rdf:http://home.netscape.com/NC-rdf#Flagged" 
  63.                   allowevents="true" />
  64.  
  65.                 <treecell class="treecell-text" value="rdf:http://home.netscape.com/NC-rdf#StatusString"/>
  66.                 <treecell class="treecell-align-right" value="rdf:http://home.netscape.com/NC-rdf#Size"/>
  67.                 <treecell class="treecell-align-right" value="rdf:http://home.netscape.com/NC-rdf#TotalUnreadMessages"/>
  68.                 <treecell class="treecell-align-right" value="rdf:http://home.netscape.com/NC-rdf#TotalMessages"/>
  69.                 <treecell class="treecell-text" value="rdf:http://home.netscape.com/NC-rdf#OrderReceived"/>
  70.                 <treecell/>
  71.               </treerow>
  72.         </treeitem>
  73.           </treechildren>
  74.     </rule>
  75.   </template>
  76.  
  77.   <treecolgroup id="theThreadColumns">
  78.       <treecol persist="hidden" id="ThreadColumn" resource="http://home.netscape.com/NC-rdf#Thread"/>
  79.     <treecol persist="hidden width" width="0" flex="7" id="SubjectColumn" resource="http://home.netscape.com/NC-rdf#Subject"/>
  80.     <splitter class="tree-splitter"/>
  81.     <treecol persist="hidden width" width="0" flex="4" id="AuthorColumn" resource="http://home.netscape.com/NC-rdf#Sender"/>
  82.       <splitter class="tree-splitter"/>
  83.       <treecol persist="hidden" fixed="true" id="UnreadButtonColumn" resource="http://home.netscape.com/NC-rdf#IsUnread"/>
  84.       <splitter class="tree-splitter"/>
  85.     <treecol persist="hidden width" width="0" flex="2" id="DateColumn" resource="http://home.netscape.com/NC-rdf#Date"/>
  86.       <splitter class="tree-splitter"/>
  87.     <treecol persist="hidden width" width="0" flex="1" id="PriorityColumn" resource="http://home.netscape.com/NC-rdf#Priority"/>
  88.       <splitter class="tree-splitter"/>
  89.     <treecol persist="hidden" fixed="true" id="FlaggedButtonColumn" resource="http://home.netscape.com/NC-rdf#Flagged"/>
  90.     <splitter class="tree-splitter"/>
  91.     <treecol persist="hidden width" width="0" flex="1" id="StatusColumn" resource="http://home.netscape.com/NC-rdf#Status"/>
  92.       <splitter class="tree-splitter"/>
  93.     <treecol persist="hidden width" width="0" flex="1" id="SizeColumn" resource="http://home.netscape.com/NC-rdf#Size"/>
  94.       <splitter class="tree-splitter"/>
  95.     <treecol persist="hidden width" width="0" flex="1" id="UnreadColumn" resource="http://home.netscape.com/NC-rdf#TotalUnreadMessages"/>
  96.       <splitter class="tree-splitter"/>
  97.     <treecol persist="hidden width" width="0" flex="1" id="TotalColumn" resource="http://home.netscape.com/NC-rdf#TotalMessages"/>
  98.       <splitter class="tree-splitter"/>
  99.       <treecol persist="hidden width" width="0" flex="1" id="OrderReceivedColumn" resource="http://home.netscape.com/NC-rdf#OrderReceived"/>
  100.       <treecol id="PopupColumn"/>
  101.   </treecolgroup>
  102.  
  103.   <treehead>
  104.     <treerow id="headRow">
  105.         <treecell display="&threadColumn.label;" onclick="return top.ChangeThreadView();" class="treecell-header treecell-inset-header treecell-header-image threadColumnHeader" tooltip="aTooltip" tooltiptext="&threadColumnHeader.tooltip;" id="ThreadColumnHeader"/> 
  106.         <treecell class="treecell-header treecell-inset-header sortDirectionIndicator" value="&subjectColumn.label;" onclick="return top.MsgSortBySubject();" id="SubjectColumnHeader"/>
  107.         <treecell class="treecell-header treecell-inset-header sortDirectionIndicator" onclick="return top.MsgSortBySender();" value="&senderColumn.label;" id="SenderColumnHeader"/>
  108.         <treecell class="treecell-header treecell-header-image treecell-inset-header readColumnHeader" display="&readColumn.label;" onclick="return top.MsgSortByRead();" id="UnreadButtonColumnHeader"/> 
  109.         <treecell class="treecell-header treecell-inset-header sortDirectionIndicator" value="&dateColumn.label;" onclick="return top.MsgSortByDate();" id="DateColumnHeader"/> 
  110.         <treecell class="treecell-header treecell-inset-header sortDirectionIndicator" value="&priorityColumn.label;" onclick="return top.MsgSortByPriority();" id="PriorityColumnHeader"/>
  111.         <treecell class="treecell-header treecell-header-image treecell-inset-header flagColumnHeader" display="&flagColumn.label;" onclick="return top.MsgSortByFlagged();" id="FlaggedButtonColumnHeader"/>
  112.         <treecell class="treecell-header treecell-inset-header sortDirectionIndicator" value="&statusColumn.label;" onclick="return top.MsgSortByStatus();" id="StatusColumnHeader"/>
  113.         <treecell class="treecell-header treecell-inset-header sortDirectionIndicator" value="&sizeColumn.label;" onclick="return top.MsgSortBySize();" id="SizeColumnHeader"/>
  114.         <treecell class="treecell-header treecell-inset-header sortDirectionIndicator" value="&unreadColumn.label;" onclick="return top.MsgSortByUnread();" id="UnreadColumnHeader"/>
  115.         <treecell class="treecell-header treecell-inset-header sortDirectionIndicator" value="&totalColumn.label;" onclick="return top.MsgSortByTotal();" id="TotalColumnHeader"/>
  116.         <treecell class="treecell-header treecell-inset-header sortDirectionIndicator" value="&orderReceivedColumn.label;" onclick="return top.MsgSortByOrderReceived();" id="OrderReceivedColumnHeader"/>
  117.         <treecell class="treecell-header treecell-header-image treecell-inset-header" allowevents="true" id="popupCell" tooltip="aTooltip" tooltiptext="&columnChooser.tooltip;" autostretch="never">
  118.           <menu>
  119.             <image class="treecell-popup-icon"/>
  120.             <menupopup popupanchor="bottomright"
  121.                        popupalign="topright"
  122.                        oncreate="BuildTreePopup(document.getElementById('theThreadColumns'), document.getElementById('headRow'), this,
  123.                                                 document.getElementById('popupCell'))"/>
  124.           </menu>
  125.         </treecell>
  126.     </treerow>
  127.   </treehead>
  128. </tree>
  129. </overlay>
  130.