source: chrome/content/v_identity/vI_rdfDataTree.xul @ e86500

Last change on this file since e86500 was e86500, checked in by rene <rene@…>, 14 years ago

rearranged all locales (by now only english working)

  • Property mode set to 100644
File size: 5.1 KB
Line 
1<?xml version="1.0"?>
2<!-- ***** BEGIN LICENSE BLOCK *****
3   - This program is free software; you can redistribute it and/or modify
4   - it under the terms of the GNU General Public License as published by
5   - the Free Software Foundation; either version 2 of the License, or
6   - (at your option) any later version.
7
8   - This program is distributed in the hope that it will be useful,
9   - but WITHOUT ANY WARRANTY; without even the implied warranty of
10   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11   - GNU General Public License for more details.
12
13   - You should have received a copy of the GNU General Public License
14   - along with this program; if not, write to the Free Software
15   - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
16
17   - The Original Code is the Virtual Identity Extension.
18
19   - The Initial Developer of the Original Code is Rene Ejury.
20   - Portions created by the Initial Developer are Copyright (C) 2007
21   - the Initial Developer. All Rights Reserved.
22
23   - Contributor(s):
24   - ***** END LICENSE BLOCK ***** -->
25
26<?xml-stylesheet href="chrome://v_identity/skin/v_identity.css" type="text/css"?>
27
28
29<!DOCTYPE overlay SYSTEM "chrome://v_identity/locale/vI_rdfDataTree.dtd">
30
31<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
32        width="750"
33        height="500"
34    persist="width,height,screenX,screenY"
35        onload="vI_rdfDataTree.init();">
36
37<script type="application/x-javascript" src="chrome://v_identity/content/vI_rdfDataTree.js" />
38<script type="application/x-javascript" src="chrome://v_identity/content/vI_helper.js" />
39<script type="application/x-javascript" src="chrome://v_identity/content/vI_rdfDatasource.js" />
40<script type="application/x-javascript" src="chrome://v_identity/content/vI_notificationBar.js"/>
41<script type="application/x-javascript" src="chrome://messenger/content/messengercompose/MsgComposeCommands.js"/>
42
43
44<stringbundleset id="stringbundleset">
45    <stringbundle id="vI_rdfDataTreeBundle" src="chrome://v_identity/locale/vI_rdfDataEditor.properties" />
46    <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties" />
47</stringbundleset>
48
49<popup id="configContext" onpopupshowing="if (event.target == this) vI_rdfDataTree.updateContextMenu();">
50    <menuitem id="modifySelected" label="&vI_rdfDataTree.modifySelected.label;"
51        accesskey="&vI_rdfDataTree.modifySelected.accesskey;" oncommand="vI_rdfDataTree.modifySelected();"/>
52    <menuitem id="removeSelected" label="&vI_rdfDataTree.removeSelected.label;"
53        accesskey="&vI_rdfDataTree.removeSelected.accesskey;" oncommand="vI_rdfDataTree.removeSelected();"/>
54    <menuitem id="newItem" label="&vI_rdfDataTree.newItem.label;"
55        accesskey="&vI_rdfDataTree.newItem.accesskey;" oncommand="vI_rdfDataTree.newItem();"/>
56</popup>
57
58<keyset>
59    <key keycode="VK_ENTER" oncommand="vI_rdfDataTree.modifySelected();"/>
60    <key keycode="VK_RETURN" oncommand="vI_rdfDataTree.modifySelected();"/>
61    <key keycode="VK_DELETE" oncommand="vI_rdfDataTree.removeSelected();"/>
62</keyset>
63
64
65<hbox align="center">
66    <button id="newItem" label="&vI_rdfDataTree.newItem.label;" accesskey="&vI_rdfDataTree.newItem.accesskey;" oncommand="vI_rdfDataTree.newItem();" />
67    <label value="&vI_rdfDataTree.filterPrefs.label;" accesskey="&vI_rdfDataTree.filterPrefs.accesskey;" control="filter"/>
68    <textbox id="filter" flex="1" type="timed" timeout="500" oninput="vI_rdfDataTree.inputFilter(event);"/>
69    <button id="clearFilter" label="&vI_rdfDataTree.showAll.label;" accesskey="&vI_rdfDataTree.showAll.accesskey;" oncommand="vI_rdfDataTree.clearFilter();" disabled="true"/>
70</hbox>
71
72<tree id="rdfDataTree" flex="1" class="plain" seltype="multiple"
73    persist="sortDirection sortResource" sortDirection="ascending" sortResource="recipientCol"
74    enableColumnDrag="true" context="configContext">
75    <treecols>
76        <treecol id="recipientCol" label="&vI_rdfDataTree.recipientColumn.label;" flex="10"
77            class="sortDirectionIndicator"
78            ignoreincolumnpicker="true"
79            persist="hidden width ordinal sortDirection"/>
80        <splitter class="tree-splitter" />
81        <treecol id="typeCol" label="&vI_rdfDataTree.typeColumn.label;" flex="5"
82            class="sortDirectionIndicator"
83            persist="hidden width ordinal sortDirection"/>
84        <splitter class="tree-splitter" />
85        <treecol id="senderCol" label="&vI_rdfDataTree.senderColumn.label;" flex="10"
86            class="sortDirectionIndicator"
87            persist="hidden width ordinal sortDirection"/>
88        <splitter class="tree-splitter" />
89        <treecol id="smtpCol" label="&vI_rdfDataTree.smtpColumn.label;" flex="5"
90            class="sortDirectionIndicator"
91            persist="hidden width ordinal sortDirection"/>
92        <splitter class="tree-splitter" />
93        <treecol id="idCol" label="&vI_rdfDataTree.idColumn.label;" flex="10"
94            class="sortDirectionIndicator"
95            persist="hidden width ordinal sortDirection"/>     
96    </treecols>
97    <treechildren id="configTreeBody" ondblclick="if (event.button == 0) vI_rdfDataTree.modifySelected();"/>
98</tree>
99   
100    <splitter id="vIDebugBoxSplitter" hidden="true"/>
101    <textbox id="vIDebugBox" hidden="true" multiline="true" readonly="true"
102    DOMAttrModified="if(event.attrName == 'value') this.value = event.newValue; return true;"/>
103
104</window>
Note: See TracBrowser for help on using the repository browser.