Ignore:
Timestamp:
Jan 13, 2009, 1:02:23 AM (13 years ago)
Author:
rene <rene@…>
Branches:
lite_0.1, multiEdit, ng_0.6, ng_0.6_help, ng_0.8, ng_0.9
Children:
3a0314
Parents:
603625
Message:

tabbed rdf Data Editor (not completely working)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_rdfDataTree.xul

    r603625 r44a21d  
    7373<popup id="configContext" onpopupshowing="if (event.target == this) vI_rdfDataTree.updateContextMenu();">
    7474    <menuitem id="context_modifySelected" label="&vI_rdfDataTree.modifySelected.label;"
    75         oncommand="vI_rdfDataTree.modifySelected();"/>
     75        oncommand="vI_rdfDataTree.modifySelected(this);"/>
    7676    <menuitem id="context_removeSelected" label="&vI_rdfDataTree.removeSelected.label;"
    7777        oncommand="vI_rdfDataTree.removeSelected();"/>
     
    119119    <button id="clearFilter" label="&vI_rdfDataTree.showAll.label;" accesskey="&vI_rdfDataTree.showAll.accesskey;" oncommand="vI_rdfDataTree.clearFilter();" disabled="true"/>
    120120</hbox>
    121 
    122 <!-- just to use the same style like the threadTree -->
    123 <tree id="threadTree" flex="1" class="plain" seltype="multiple"
     121<tabbox id="TreeTabbox" flex="1">
     122<tabs>
     123<tab label="Emails"/>
     124<tab label="Mailing Lists"/>
     125<tab label="Newsgroups"/>
     126<tab label="Filter"/>
     127</tabs>
     128<tabpanels flex="1">
     129<tabpanel id="email" flex="1">
     130<tree id="rdfDataTree_email" flex="1" class="plain" seltype="multiple"
     131    persist="sortDirection sortResource" sortDirection="ascending" sortResource="recipientCol"
     132    enableColumnDrag="true" context="configContext" onselect="vI_rdfDataTree.onselect(this);">
     133    <treecols id="rdfDataTreeCols">
     134        <treecol id="recipientCol" label="&vI_rdfDataTree.recipientColumn.label;" flex="10"
     135            class="sortDirectionIndicator"
     136            ignoreincolumnpicker="true"
     137            persist="hidden width ordinal sortDirection"/>
     138        <splitter class="tree-splitter" />
     139        <treecol id="typeCol" label="&vI_rdfDataTree.typeColumn.label;" flex="5"
     140            class="sortDirectionIndicator"
     141            persist="hidden width ordinal sortDirection"/>
     142        <splitter class="tree-splitter" />
     143        <treecol id="senderCol" label="&vI_rdfDataTree.senderColumn.label;" flex="10"
     144            class="sortDirectionIndicator"
     145            persist="hidden width ordinal sortDirection"/>
     146        <splitter class="tree-splitter" />
     147        <treecol id="smtpCol" label="&vI_rdfDataTree.smtpColumn.label;" flex="5"
     148            class="sortDirectionIndicator"
     149            persist="hidden width ordinal sortDirection"/>
     150        <splitter class="tree-splitter" />
     151        <treecol id="idCol" label="&vI_rdfDataTree.idColumn.label;" flex="10"
     152            class="sortDirectionIndicator"
     153            persist="hidden width ordinal sortDirection"/>     
     154    </treecols>
     155    <treechildren id="configTreeBody" ondblclick="if (event.button == 0) vI_rdfDataTree.modifySelected();" />
     156</tree>
     157</tabpanel>
     158
     159<tabpanel id="maillist" flex="1">
     160<tree id="rdfDataTree_maillist" flex="1" class="plain" seltype="multiple"
    124161    persist="sortDirection sortResource" sortDirection="ascending" sortResource="recipientCol"
    125162    enableColumnDrag="true" context="configContext" onselect="vI_rdfDataTree.onselect();">
     
    148185    <treechildren id="configTreeBody" ondblclick="if (event.button == 0) vI_rdfDataTree.modifySelected();" />
    149186</tree>
    150 <splitter />
     187</tabpanel>
     188<tabpanel id="newsgroup" flex="1">
     189<tree id="rdfDataTree_newsgroup" flex="1" class="plain" seltype="multiple"
     190    persist="sortDirection sortResource" sortDirection="ascending" sortResource="recipientCol"
     191    enableColumnDrag="true" context="configContext" onselect="vI_rdfDataTree.onselect();">
     192    <treecols id="rdfDataTreeCols">
     193        <treecol id="recipientCol" label="&vI_rdfDataTree.recipientColumn.label;" flex="10"
     194            class="sortDirectionIndicator"
     195            ignoreincolumnpicker="true"
     196            persist="hidden width ordinal sortDirection"/>
     197        <splitter class="tree-splitter" />
     198        <treecol id="typeCol" label="&vI_rdfDataTree.typeColumn.label;" flex="5"
     199            class="sortDirectionIndicator"
     200            persist="hidden width ordinal sortDirection"/>
     201        <splitter class="tree-splitter" />
     202        <treecol id="senderCol" label="&vI_rdfDataTree.senderColumn.label;" flex="10"
     203            class="sortDirectionIndicator"
     204            persist="hidden width ordinal sortDirection"/>
     205        <splitter class="tree-splitter" />
     206        <treecol id="smtpCol" label="&vI_rdfDataTree.smtpColumn.label;" flex="5"
     207            class="sortDirectionIndicator"
     208            persist="hidden width ordinal sortDirection"/>
     209        <splitter class="tree-splitter" />
     210        <treecol id="idCol" label="&vI_rdfDataTree.idColumn.label;" flex="10"
     211            class="sortDirectionIndicator"
     212            persist="hidden width ordinal sortDirection"/>     
     213    </treecols>
     214    <treechildren id="configTreeBody" ondblclick="if (event.button == 0) vI_rdfDataTree.modifySelected();" />
     215</tree>
     216</tabpanel>
     217<tabpanel id="filter" flex="1">
     218<tree id="rdfDataTree_filter" flex="1" class="plain" seltype="multiple"
     219    persist="sortDirection sortResource" sortDirection="ascending" sortResource="recipientCol"
     220    enableColumnDrag="true" context="configContext" onselect="vI_rdfDataTree.onselect();">
     221    <treecols id="rdfDataTreeCols">
     222        <treecol id="recipientCol" label="&vI_rdfDataTree.recipientColumn.label;" flex="10"
     223            class="sortDirectionIndicator"
     224            ignoreincolumnpicker="true"
     225            persist="hidden width ordinal sortDirection"/>
     226        <splitter class="tree-splitter" />
     227        <treecol id="typeCol" label="&vI_rdfDataTree.typeColumn.label;" flex="5"
     228            class="sortDirectionIndicator"
     229            persist="hidden width ordinal sortDirection"/>
     230        <splitter class="tree-splitter" />
     231        <treecol id="senderCol" label="&vI_rdfDataTree.senderColumn.label;" flex="10"
     232            class="sortDirectionIndicator"
     233            persist="hidden width ordinal sortDirection"/>
     234        <splitter class="tree-splitter" />
     235        <treecol id="smtpCol" label="&vI_rdfDataTree.smtpColumn.label;" flex="5"
     236            class="sortDirectionIndicator"
     237            persist="hidden width ordinal sortDirection"/>
     238        <splitter class="tree-splitter" />
     239        <treecol id="idCol" label="&vI_rdfDataTree.idColumn.label;" flex="10"
     240            class="sortDirectionIndicator"
     241            persist="hidden width ordinal sortDirection"/>     
     242    </treecols>
     243    <treechildren id="configTreeBody" ondblclick="if (event.button == 0) vI_rdfDataTree.modifySelected();" />
     244</tree>
     245</tabpanel>
     246
     247</tabpanels>
     248</tabbox> -->
     249<!-- <splitter /> -->
    151250<browser id="vI_rdfDataTreeInfoBox" class="vI_htmlTextBox" cssSource="vI_rdfTreeInfo.css" disablehistory="true" onoverflow="vI_rdfDataTree.overflow();"/>
    152251
Note: See TracChangeset for help on using the changeset viewer.