[Zope-CVS] CVS: Packages/MoZTop/content/zopetop/Inspector - ExplorerOverlay.xul:1.2 InspectorOverlay.xul:1.2 fc.rdf:1.2
Christian Theune
ct@gocept.com
Wed, 5 Jun 2002 15:02:27 -0400
Update of /cvs-repository/Packages/MoZTop/content/zopetop/Inspector
In directory cvs.zope.org:/tmp/cvs-serv10207/content/zopetop/Inspector
Modified Files:
ExplorerOverlay.xul InspectorOverlay.xul fc.rdf
Log Message:
Made the tree working.
=== Packages/MoZTop/content/zopetop/Inspector/ExplorerOverlay.xul 1.1 => 1.2 ===
-
-<overlay id="ExplorerOverlay"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
- <outliner id="explorer" flex="1"
- datasources="rdf:null"
- ref="urn:explorer:data"
- ondblclick="activateSelectedObject(event)">
- <outlinercols>
- <outlinercol id="Name" label="Name" flex="1" primary="true"/>
- </outlinercols>
-
- <template>
- <rule>
- <conditions>
- <content uri="?list"/>
- <member container="?list" child="?child"/>
- <triple subject="?child"
- predicate="http://www.zope.org/rdf#name"
- object="?name"/>
- </conditions>
- <action>
- <outlinerchildren>
- <outlineritem uri="?child">
- <outlinerrow>
- <outlinercell label="?name"/>
- </outlinerrow>
- </outlineritem>
- </outlinerchildren>
- </action>
- </rule>
- </template>
- </outliner>
-
-</overlay>
\ No newline at end of file
+<?xml version="1.0"?>
+
+<overlay id="ExplorerOverlay"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+<tree id="explorer" flex="1"
+ datasources="chrome://zopetop/content/Inspector/fc.rdf"
+ ref="urn:explorer:data">
+ <treecols>
+ <treecol id="Name" label="Name" primary="true" flex="1"/>
+ </treecols>
+
+ <template>
+ <rule>
+ <treechildren flex="1">
+ <treeitem uri="rdf:*">
+ <treerow>
+ <treecell label="rdf:http://www.zope.org/rdf#name"/>
+ </treerow>
+ </treeitem>
+ </treechildren>
+ </rule>
+ </template>
+</tree>
+
+</overlay>
=== Packages/MoZTop/content/zopetop/Inspector/InspectorOverlay.xul 1.1 => 1.2 ===
orient="vertical"
flex="1">
- <outliner id="explorer"/>
+ <tree id="explorer"/>
</tabpanel>
<tabpanel id="props-panel"
orient="vertical"
@@ -38,4 +38,4 @@
</tabpanels>
</tabbox>
-</overlay>
\ No newline at end of file
+</overlay>
=== Packages/MoZTop/content/zopetop/Inspector/fc.rdf 1.1 => 1.2 ===
-<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:explorer="http://www.zope.org/rdf#">
- <RDF:Description about="urn:explorer:img">
- <explorer:name>img</explorer:name>
- </RDF:Description>
-
- <RDF:Description about="urn:explorer:addThree">
- <explorer:name>addThree</explorer:name>
- </RDF:Description>
-
- <RDF:Description about="urn:explorer:addTwo">
- <explorer:name>addTwo</explorer:name>
- </RDF:Description>
-
- <RDF:Seq about="urn:explorer:data">
- <RDF:li resource="urn:explorer:img" />
- <RDF:li resource="urn:explorer:addThree" />
- <RDF:li resource="urn:explorer:addTwo" />
- </RDF:Seq>
-</RDF:RDF>
\ No newline at end of file
+<?xml version="1.0" ?>
+<RDF:RDF
+ xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:explorer="http://www.zope.org/rdf#">
+
+ <RDF:Description about="urn:explorer:1">
+ <explorer:name>Folder 1</explorer:name>
+ </RDF:Description>
+
+ <RDF:Description about="urn:explorer:2">
+ <explorer:name>Folder 2</explorer:name>
+ </RDF:Description>
+
+ <RDF:Description about="urn:explorer:3">
+ <explorer:name>Folder 3</explorer:name>
+ </RDF:Description>
+
+ <RDF:Description about="urn:explorer:4">
+ <explorer:name>Folder 4</explorer:name>
+ </RDF:Description>
+
+ <RDF:Description about="urn:explorer:5">
+ <explorer:name>Folder 5</explorer:name>
+ </RDF:Description>
+
+ <RDF:Description about="urn:explorer:6">
+ <explorer:name>Folder 6</explorer:name>
+ </RDF:Description>
+
+ <RDF:Description about="urn:explorer:7">
+ <explorer:name>Folder 7</explorer:name>
+ </RDF:Description>
+
+ <RDF:Description about="urn:explorer:8">
+ <explorer:name>Folder 8</explorer:name>
+ </RDF:Description>
+
+ <RDF:Description about="urn:explorer:9">
+ <explorer:name>Folder 9</explorer:name>
+ </RDF:Description>
+
+ <RDF:Seq about="urn:explorer:data">
+ <RDF:li resource="urn:explorer:2" />
+ <RDF:li resource="urn:explorer:7" />
+ <RDF:li resource="urn:explorer:1">
+ <RDF:Seq about="urn:explorer:1">
+ <RDF:li resource="urn:explorer:3" />
+ </RDF:Seq>
+ </RDF:li>
+ <RDF:li resource="urn:explorer:5">
+ <RDF:Seq about="urn:explorer:5">
+ <RDF:li resource="urn:explorer:8" />
+ <RDF:li resource="urn:explorer:9" />
+ </RDF:Seq>
+ </RDF:li>
+ </RDF:Seq>
+</RDF:RDF>