File: jsObjectViewer.xul

package info (click to toggle)
mozilla-dom-inspector 1%3A2.0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,844 kB
  • sloc: xml: 776; makefile: 8
file content (60 lines) | stat: -rw-r--r-- 2,446 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0"?>

<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE page [
  <!ENTITY % dtd1 SYSTEM "chrome://inspector/locale/inspector.dtd"> %dtd1;
  <!ENTITY % dtd2 SYSTEM "chrome://inspector/locale/viewers/jsObject.dtd"> %dtd2;
]>

<?xml-stylesheet href="chrome://inspector/skin/inspector.css"?>
<?xul-overlay href="chrome://inspector/content/editingOverlay.xul"?>

<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <script type="application/javascript"
          src="chrome://inspector/content/utils.js"/>
  <script type="application/javascript"
          src="chrome://inspector/content/jsutil/xpcom/XPCU.js"/>
  <script type="application/javascript"
          src="chrome://inspector/content/jsutil/events/ObserverManager.js"/>
  <script type="application/javascript"
          src="chrome://inspector/content/hooks.js"/>
  <script type="application/javascript"
          src="chrome://inspector/content/jsutil/commands/baseCommands.js"/>
  <script type="application/javascript"
          src="chrome://inspector/content/jsutil/xul/inBaseTreeView.js"/>
  <script type="application/javascript"
          src="chrome://inspector/content/viewers/jsObject/jsObjectViewer.js"/>

  <stringbundle id="inspector-bundle"
                src="chrome://inspector/locale/inspector.properties"/>

  <commandset id="cmdsEditingExtras"/>
  <commandset id="cmdsJSObjectViewer">
    <command id="cmdCopyValue" oncommand="viewer.cmdCopyValue();"/>
    <command id="cmdEvalExpr" oncommand="viewer.cmdEvalExpr();"/>
  </commandset>

  <menupopup id="popupContext">
    <!-- mnEditInspectInNewWindow is overlaid by editingOverlay.xul -->
    <menuitem id="mnEditInspectInNewWindow"/>
    <menuseparator/>
    <menuitem label="&jsCopyValue.label;" command="cmdCopyValue"/>
    <menuitem label="&jsEval.label;" command="cmdEvalExpr"/>
  </menupopup>

  <tree id="treeJSObject" flex="1" context="popupContext"
        onselect="viewer.onTreeSelectionChange();">
    <treecols>
      <treecol id="colProp" flex="1" primary="true"
               label="&jsProperty.label;"/>
      <splitter class="tree-splitter"/>
      <treecol id="colVal" flex="1" label="&jsValue.label;"/>
    </treecols>

    <treechildren id="trchJSObject"/>
  </tree>
</overlay>