1 | <?xml version="1.0" encoding="UTF-8" ?> |
---|
2 | <!DOCTYPE overlay SYSTEM "chrome://markingcollection/locale/markingcollection.dtd"> |
---|
3 | <overlay |
---|
4 | id="substitutiontreeOverlay" |
---|
5 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
---|
6 | xmlns:html="http://www.w3.org/1999/xhtml"> |
---|
7 | <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" /> |
---|
8 | <script type="application/x-javascript" src="chrome://markingcollection/content/substitutiontreeOverlay.js"/> |
---|
9 | <script type="application/x-javascript"> |
---|
10 | <![CDATA[ |
---|
11 | function _substitutiontreeInit(aEvent){ |
---|
12 | bitsSubstitutionTreeOverlay.init(aEvent); |
---|
13 | } |
---|
14 | function _substitutiontreeDone(aEvent){ |
---|
15 | bitsSubstitutionTreeOverlay.done(aEvent); |
---|
16 | } |
---|
17 | window.addEventListener("load", _substitutiontreeInit, false); |
---|
18 | window.addEventListener("unload", _substitutiontreeDone, false); |
---|
19 | ]]> |
---|
20 | </script> |
---|
21 | <groupbox id="bitsSubstitutionTreeGroupBox"> |
---|
22 | <hbox flex="1"> |
---|
23 | <tree |
---|
24 | id="bitsSubstitutionTree" |
---|
25 | tooltip="mcPopupTooltip" |
---|
26 | flex="1" |
---|
27 | hidecolumnpicker="true" |
---|
28 | seltype="single" |
---|
29 | class="tree" |
---|
30 | onclick="bitsSubstitutionTreeOverlay.onClick(event);" |
---|
31 | ondblclick="bitsSubstitutionTreeOverlay.onDblClick(event);" |
---|
32 | > |
---|
33 | <treecols id="bitsSubstitutionTreeCols"> |
---|
34 | <treecol |
---|
35 | id="bitsSubstitutionTreeSrcCol" |
---|
36 | flex="1" |
---|
37 | label="&markingcollection.substitutiontree.src;" |
---|
38 | persist="width"/> |
---|
39 | <splitter class="tree-splitter"/> |
---|
40 | <treecol |
---|
41 | id="bitsSubstitutionTreeAltCol" |
---|
42 | flex="1" |
---|
43 | label="&markingcollection.substitutiontree.alt;" |
---|
44 | persist="width"/> |
---|
45 | </treecols> |
---|
46 | <treechildren/> |
---|
47 | </tree> |
---|
48 | <vbox> |
---|
49 | <toolbarbutton |
---|
50 | id="bitsSubstitutionTreeAdd" |
---|
51 | label="&markingcollection.substitutiontree.add;" |
---|
52 | image="chrome://markingcollection/skin/menu_create.png" |
---|
53 | oncommand="bitsSubstitutionTreeOverlay.onAdd(event);"/> |
---|
54 | <toolbarbutton |
---|
55 | id="bitsSubstitutionTreeEdit" |
---|
56 | label="&markingcollection.substitutiontree.edit;" |
---|
57 | image="chrome://markingcollection/skin/menu_property.png" |
---|
58 | disabled="true" |
---|
59 | oncommand="bitsSubstitutionTreeOverlay.onEdit(event);"/> |
---|
60 | <toolbarbutton |
---|
61 | id="bitsSubstitutionTreeDel" |
---|
62 | label="&markingcollection.substitutiontree.del;" |
---|
63 | image="chrome://markingcollection/skin/menu_remove.png" |
---|
64 | disabled="true" |
---|
65 | oncommand="bitsSubstitutionTreeOverlay.onDel(event);"/> |
---|
66 | </vbox> |
---|
67 | </hbox> |
---|
68 | </groupbox> |
---|
69 | </overlay> |
---|