mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-10 01:40:17 +01:00
191 lines
6.8 KiB
XML
191 lines
6.8 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
The contents of this file are subject to the Mozilla Public License Version
|
|
1.1 (the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
http://www.mozilla.org/MPL/
|
|
|
|
Software distributed under the License is distributed on an "AS IS" basis,
|
|
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
for the specific language governing rights and limitations under the
|
|
License.
|
|
|
|
The Original Code is mozilla.org code.
|
|
|
|
The Initial Developer of the Original Code is
|
|
Netscape Communications Corporation.
|
|
Portions created by the Initial Developer are Copyright (C) 1998
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
Contributor(s):
|
|
Robert Ginda, rginda@netscape.com, original author
|
|
|
|
Alternatively, the contents of this file may be used under the terms of
|
|
either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
in which case the provisions of the GPL or the LGPL are applicable instead
|
|
of those above. If you wish to allow use of your version of this file only
|
|
under the terms of either the GPL or the LGPL, and not to allow others to
|
|
use your version of this file under the terms of the MPL, indicate your
|
|
decision by deleting the provisions above and replace them with the notice
|
|
and other provisions required by the GPL or the LGPL. If you do not delete
|
|
the provisions above, a recipient may use your version of this file under
|
|
the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
***** END LICENSE BLOCK ***** -->
|
|
|
|
<!DOCTYPE window>
|
|
|
|
<?xml-stylesheet href="chrome://cview/skin" type="text/css"?>
|
|
|
|
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
|
|
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
|
|
<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
|
|
<!--
|
|
including tasksOverlay.xul imports the tasks menu, it will appear
|
|
under the 'tasksMenu' <menu> below.
|
|
-->
|
|
|
|
<window id="main-window"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
orient="vertical" onload="onLoad();" onunload="onUnload();"
|
|
persist="width height" title="XPCOM Component Viewer">
|
|
<!--
|
|
The persist attribute contains attributes that should be saved to
|
|
localstore.rdf when the window closes. The next time this window is
|
|
opened, persisted properties will be automatically restored.
|
|
-->
|
|
|
|
<!--
|
|
debug needs to be set before loading the utility library in order for
|
|
it to take effect.
|
|
|
|
files loaded are:
|
|
tree-utils.js General purpose tree classes
|
|
|
|
cview-utils.js generic utility functions.
|
|
cview-rdf.js RDF utility class (RDFHelper).
|
|
cview-static.js Non event-handler functions core to cview.
|
|
cview-handlers.js Event-handlers core to cview.
|
|
cview-trees.js CView specific trees
|
|
-->
|
|
<script>
|
|
var DEBUG = true;
|
|
</script>
|
|
<script src="chrome://cview/content/tree-utils.js"/>
|
|
<script src="chrome://cview/content/cview-utils.js"/>
|
|
<script src="chrome://cview/content/cview-rdf.js"/>
|
|
<script src="chrome://cview/content/cview-static.js"/>
|
|
<script src="chrome://cview/content/cview-handlers.js"/>
|
|
<script src="chrome://cview/content/cview-trees.js"/>
|
|
|
|
<!--
|
|
This popup is the context menu for elements in the interfaces list.
|
|
-->
|
|
<popupset>
|
|
<popup id="interfacePopup">
|
|
<menuitem label="LXR filename lookup"
|
|
oncommand="onLXRIFCLookup(event,'find?string=');"/>
|
|
<menuitem label="LXR text lookup"
|
|
oncommand="onLXRIFCLookup(event, 'search?string=');"/>
|
|
</popup>
|
|
</popupset>
|
|
|
|
<toolbox>
|
|
<menubar id="main-menubar">
|
|
<menu id="view-menu" label="View">
|
|
<menupopup>
|
|
<menu label="Components">
|
|
<menupopup>
|
|
<menuitem id="menu-cmp-show-all" label="All" checked="true"
|
|
type="checkbox"
|
|
oncommand="onChangeDisplayMode(event);"/>
|
|
<menuitem id="menu-cmp-show-contains"
|
|
label="Containing..." type="checkbox"
|
|
oncommand="onChangeDisplayMode(event);"/>
|
|
<menuitem id="menu-cmp-show-starts-with"
|
|
label="Starting with..." type="checkbox"
|
|
oncommand="onChangeDisplayMode(event);"/>
|
|
</menupopup>
|
|
</menu>
|
|
<menu label="Interfaces">
|
|
<menupopup>
|
|
<menuitem id="menu-ifc-show-all" label="All" checked="true"
|
|
type="checkbox"
|
|
oncommand="onChangeDisplayMode(event);"/>
|
|
<menuitem id="menu-ifc-show-contains"
|
|
label="Containing..." type="checkbox"
|
|
oncommand="onChangeDisplayMode(event);"/>
|
|
<menuitem id="menu-ifc-show-starts-with"
|
|
label="Starting with..." type="checkbox"
|
|
oncommand="onChangeDisplayMode(event);"/>
|
|
<menuitem id="menu-ifc-show-implemented-by"
|
|
label="Implemented by selected component"
|
|
type="checkbox"
|
|
oncommand="onChangeDisplayMode(event);"/>
|
|
</menupopup>
|
|
</menu>
|
|
</menupopup>
|
|
</menu>
|
|
<menu id="tasksMenu"/>
|
|
</menubar>
|
|
</toolbox>
|
|
|
|
<vbox id="outer-box" flex="1">
|
|
<hbox id="inner-box" flex="9">
|
|
<vbox id="component-box" flex="1" width="50%">
|
|
<text id="component-label" value="Components..." crop="right"/>
|
|
|
|
<tree flex="1" id="component-tree" persist="height"
|
|
primary="true" onselect="onComponentSelect(event);"
|
|
onclick="onComponentClick(event);">
|
|
|
|
<treecols>
|
|
<treecol id="cmp-name" label="Name" primary="true" flex="1"
|
|
persist="hidden width"/>
|
|
<splitter class="tree-splitter"/>
|
|
<treecol id="cmp-number" flex="1" label="Number"
|
|
persist="hidden width"/>
|
|
</treecols>
|
|
<treechildren id="project-body"/>
|
|
</tree>
|
|
|
|
</vbox>
|
|
|
|
<splitter id="main-splitter" collapse="after">
|
|
<grippy/>
|
|
</splitter>
|
|
|
|
<vbox id="interface-box" flex="1" width="50%">
|
|
<text id="interface-label" value="Interfaces..." crop="right"/>
|
|
|
|
<tree flex="1" id="interface-tree" persist="height"
|
|
onclick="onInterfaceClick(event);" context="interfacePopup"
|
|
onselect="onInterfaceSelect(event);">
|
|
|
|
<treecols>
|
|
<treecol id="ifc-name" label="Name" primary="true" flex="1"
|
|
persist="hidden width"/>
|
|
<splitter class="tree-splitter"/>
|
|
<treecol id="ifc-number" flex="1" label="Number"
|
|
persist="hidden width"/>
|
|
</treecols>
|
|
<treechildren id="project-body"/>
|
|
</tree>
|
|
|
|
</vbox>
|
|
|
|
</hbox> <!-- inner-box -->
|
|
|
|
<splitter id="textbox-splitter" collapse="after">
|
|
<grippy/>
|
|
</splitter>
|
|
|
|
<textbox multiline="true" readonly="true" id="output-text" flex="1"/>
|
|
|
|
</vbox> <!-- outer-box -->
|
|
</window>
|