home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / venkman.jar / content / venkman / venkman-views.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  10KB  |  268 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License
  6.    - Version 1.1 (the "License"); you may not use this file except in
  7.    - compliance with the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/ 
  9.    - 
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License. 
  14.    -
  15.    - The Original Code is The JavaScript Debugger
  16.    - 
  17.    - The Initial Developer of the Original Code is
  18.    - Netscape Communications Corporation
  19.    - Portions created by Netscape are
  20.    - Copyright (C) 1998 Netscape Communications Corporation.
  21.    - All Rights Reserved.
  22.    -
  23.    - Alternatively, the contents of this file may be used under the
  24.    - terms of the GNU Public License (the "GPL"), in which case the
  25.    - provisions of the GPL are applicable instead of those above.
  26.    - If you wish to allow use of your version of this file only
  27.    - under the terms of the GPL and not to allow others to use your
  28.    - version of this file under the MPL, indicate your decision by
  29.    - deleting the provisions above and replace them with the notice
  30.    - and other provisions required by the GPL.  If you do not delete
  31.    - the provisions above, a recipient may use your version of this
  32.    - file under either the MPL or the GPL.
  33.    -
  34.    - Contributor(s):
  35.    -  Robert Ginda, <rginda@netscape.com>, original author
  36.    -
  37.    -->
  38.  
  39. <!DOCTYPE window SYSTEM "chrome://venkman/locale/venkman.dtd" >
  40.  
  41. <overlay id="venkman-views-overlay"
  42.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  43.  
  44.   <overlaytarget id="views-overlay-target" hidden="true">
  45.  
  46.  
  47.     <!-- breakpoint view -->
  48.  
  49.     <floatingview id="breaks" title="&Break.label;" flex="1">
  50.       <vbox id="break-view-content" flex="1">
  51.         <tree flex="1" id="break-tree" persist="height" hidecolumnpicker="true"
  52.           ondblclick="console.views.breaks.onDblClick(event);"
  53.           context="context:breaks">
  54.  
  55.           <treecols>
  56.             <treecol id="breaks:col-0" label="&BreakCol0.label;"
  57.               primary="true" flex="5" persist="hidden width"/>
  58.             <splitter class="tree-splitter"/>
  59.             <treecol id="breaks:col-1" flex="1" label="&BreakCol1.label;"
  60.               persist="hidden width"/>
  61.             <splitter class="tree-splitter"/>
  62.           </treecols>
  63.  
  64.           <treechildren id="break-body"/>
  65.  
  66.         </tree>
  67.       </vbox>
  68.     </floatingview>
  69.  
  70.     <!-- locals view -->
  71.     
  72.     <floatingview id="locals" title="&Locals.label;" flex="1">
  73.       <vbox id="locals-view-content" flex="1">
  74.         <tree flex="1" id="locals-tree" persist="height"
  75.           ondblclick="console.views.locals.onDblClick(event);"
  76.           context="context:locals">
  77.  
  78.           <treecols>
  79.             <treecol id="locals:col-0" label="&LocalsCol0.header;" primary="true"
  80.               flex="1" persist="hidden width"/>
  81.             <splitter class="tree-splitter"/>
  82.             <treecol id="locals:col-1" flex="1" label="&LocalsCol1.header;"
  83.               persist="hidden width" hidden="true"/>
  84.             <splitter class="tree-splitter"/>
  85.             <treecol id="locals:col-2" flex="1" label="&LocalsCol2.header;"
  86.               persist="hidden width"/>
  87.             <splitter class="tree-splitter"/>
  88.             <treecol id="locals:col-3" flex="1" label="&LocalsCol3.header;"
  89.               persist="hidden width" hidden="true"/>
  90.           </treecols>
  91.  
  92.           <treechildren id="locals-body"/>
  93.  
  94.         </tree>
  95.       </vbox>
  96.     </floatingview>
  97.  
  98.     <!-- session view -->
  99.  
  100.     <floatingview id="session" title="&Session.label;" flex="1">
  101.       <vbox id="session-view-content" flex="1" persist="width">
  102.  
  103.          <browser id="session-output-iframe" flex="1" type="content"
  104.            src="about:blank" context="context:session"/>
  105.          <textbox id="session-sl-input" class="input-widget"
  106.            onkeypress="console.views.session.onSLKeyPress(event);"/>
  107.       </vbox>
  108.     </floatingview>
  109.  
  110.     <!-- scripts view -->
  111.  
  112.     <floatingview id="scripts" title="&Scripts.label;" flex="1">
  113.       <vbox id="scripts-view-content" flex="1">
  114.         <hbox id="scripts-search-box" align="center" persist="hidden">
  115.           <label id="scripts-search-label" value="&ScriptsSearch.label;"
  116.            onclick="console.views.scripts.onSearchClear(event);"
  117.            tooltiptext="&ScriptsSearch.tooltip;"/>
  118.           <textbox id="scripts-search" flex="1"
  119.             oninput="console.views.scripts.onSearchInput(event);"/>
  120.         </hbox>
  121.         <tree flex="1" id="scripts-tree" persist="height"
  122.           ondblclick="console.views.scripts.onDblClick(event);"
  123.           context="context:scripts">
  124.  
  125.           <treecols>
  126.             <treecol id="scripts:col-0" label="&ScriptsCol0.header;"
  127.               primary="true" flex="5" persist="hidden width"/>
  128.             <splitter class="tree-splitter"/>
  129.             <treecol id="scripts:col-1" flex="1" label="&ScriptsCol1.header;"
  130.               persist="hidden width"/>
  131.             <splitter class="tree-splitter"/>
  132.             <treecol id="scripts:col-2" flex="1" label="&ScriptsCol2.header;"
  133.               persist="hidden width" hidden="true"/>
  134.           </treecols>
  135.  
  136.           <treechildren id="script-list-body"/>
  137.  
  138.         </tree>
  139.       </vbox>
  140.     </floatingview>
  141.  
  142.     <!-- source2 view -->
  143.  
  144.     <floatingview id="source2" title="&Source.label;" flex="1">
  145.       <stack flex="1">
  146.         <vbox flex="1" pack="center" align="center">
  147.           <label id="source2-version-label" value="Venkman!" crop="center"/>
  148.           <label id="source2-help-label" value="I feel so funky" crop="center"/>
  149.         </vbox>
  150.         <tabbox id="source2-tabbox" flex="1">
  151.           <tabs id="source2-tabs">
  152.             <!-- 
  153.               We've got to put this placeholder tab in the tabs element to avoid
  154.               bogus strict warnings and exceptions.
  155.             -->
  156.             <tab id="source2-bloke" hidden="true"/>
  157.           </tabs>
  158.           <tabpanels id="source2-deck" flex="1"/>
  159.         </tabbox>
  160.       </stack>
  161.     </floatingview>
  162.  
  163.     <!-- source view -->
  164.  
  165.     <floatingview id="source" title="&Source.label;" flex="1">
  166.       <vbox id="source-view-content" flex="1">
  167.         <toolbox>
  168.           <toolbar id="source-header" grippytooltiptext="&SourceHeader.tip;">
  169.             <label id="source-url" flex="1" crop="end"/>
  170.           </toolbar>
  171.         </toolbox>
  172.         <tree id="source-tree" flex="1" persist="width"
  173.           onclick="console.views.source.onClick(event);"
  174.           onselect="console.views.source.onSelect(event);"
  175.           context="context:source">
  176.  
  177.           <treecols>
  178.             <treecol id="source:col-0" width="20px"
  179.               display="&SourceCol0.display;" persist="hidden width"/>
  180.             <splitter class="tree-splitter"/>
  181.             <treecol id="source:col-1" width="50px"
  182.               display="&SourceCol1.display;" persist="hidden width"/>
  183.             <splitter class="tree-splitter"/>
  184.             <treecol id="source:col-2" flex="1" display=""
  185.               ignoreincolumnpicker="true" persist="hidden width"/>
  186.           </treecols>
  187.  
  188.           <treechildren id="source-tree-body"/>
  189.  
  190.         </tree>
  191.       </vbox>
  192.     </floatingview>
  193.  
  194.     <!-- stack view -->
  195.  
  196.     <floatingview id="stack" title="&Stack.label;" flex="1"
  197.       grippytooltiptext="&Stack.label;">
  198.       <vbox id="stack-view-content" flex="1">
  199.         <tree flex="2" id="stack-tree" persist="width" context="context:stack"
  200.           ondblclick="console.views.stack.onDblClick(event);">
  201.  
  202.           <treecols>
  203.             <treecol id="stack:col-0" flex="1" persist="hidden width"
  204.               label="&StackCol0.header;"/>
  205.             <splitter class="tree-splitter"/>
  206.             <treecol flex="2" id="stack:col-1" persist="hidden width"
  207.               label="&StackCol1.header;"/>
  208.             <splitter class="tree-splitter"/>
  209.           </treecols>
  210.  
  211.           <treechildren id="stack-body"/>
  212.  
  213.         </tree>
  214.       </vbox>
  215.     </floatingview>
  216.  
  217.     <!-- watch view -->
  218.  
  219.     <floatingview id="watches" title="&Watch.label;" flex="1">
  220.       <vbox id="watch-view-content" flex="1">
  221.         <tree flex="1" id="watch-tree" persist="height"
  222.           ondblclick="console.views.watches.onDblClick(event);"
  223.           context="context:watches">
  224.  
  225.           <treecols>
  226.             <treecol id="watches:col-0" flex="1" persist="hidden width"
  227.               primary="true" label="&WatchCol0.header;"/>
  228.             <splitter class="tree-splitter"/>
  229.             <treecol flex="1" id="watches:col-1" persist="hidden width"
  230.               hidden="true" label="&WatchCol1.header;"/>
  231.             <splitter class="tree-splitter"/>
  232.             <treecol flex="1" id="watches:col-2" persist="hidden width"
  233.               label="&WatchCol2.header;"/>
  234.             <splitter class="tree-splitter"/>
  235.             <treecol flex="1" id="watches:col-3" persist="hidden width"
  236.               label="&WatchCol3.header;" hidden="true"/>
  237.           </treecols>
  238.  
  239.           <treechildren id="watch-body" flex="1"/>
  240.  
  241.         </tree>      
  242.       </vbox>
  243.     </floatingview>
  244.  
  245.     <!-- windows view -->
  246.  
  247.     <floatingview id="windows" title="&Windows.label;" flex="1">
  248.       <vbox id="windows-view-content" flex="1">
  249.         <tree flex="1" id="windows-tree" persist="height"
  250.           context="context:windows"
  251.           ondblclick="console.views.windows.onDblClick(event);"
  252.           hidecolumnpicker="true">
  253.  
  254.           <treecols>
  255.             <treecol id="windows:col-0" label="&WindowsCol0.label;"
  256.               primary="true" flex="1" persist="hidden width"/>
  257.           </treecols>
  258.  
  259.           <treechildren id="windows-body"/>
  260.  
  261.         </tree>
  262.       </vbox>
  263.     </floatingview>
  264.     
  265.   </overlaytarget>
  266.  
  267. </overlay>
  268.