[Zope-CVS] CVS: Packages/MoZTop/content/zopetop/Inspector - ExplorerOverlay.xul:1.1 InspectorOverlay.xul:1.1 PropertiesOverlay.xul:1.1 SitesOverlay.xul:1.1 fc.rdf:1.1 foldercontents.rdf:1.1
Stephan Richter
srichter@cbu.edu
Thu, 18 Apr 2002 00:56:01 -0400
Update of /cvs-repository/Packages/MoZTop/content/zopetop/Inspector
In directory cvs.zope.org:/tmp/cvs-serv20598/content/zopetop/Inspector
Added Files:
ExplorerOverlay.xul InspectorOverlay.xul PropertiesOverlay.xul
SitesOverlay.xul fc.rdf foldercontents.rdf
Log Message:
This is Scott Robertson's attempt to get a Mozilla frontend built. This
sub-tree will be short-lived, sinc ehis code will be incorporated into the
other one asap.
=== Added File Packages/MoZTop/content/zopetop/Inspector/ExplorerOverlay.xul ===
<?xml version="1.0"?>
<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>
=== Added File Packages/MoZTop/content/zopetop/Inspector/InspectorOverlay.xul ===
<?xml version="1.0"?>
<?xul-overlay href="chrome://zopetop/content/Inspector/ExplorerOverlay.xul"?>
<?xul-overlay href="chrome://zopetop/content/Inspector/PropertiesOverlay.xul"?>
<?xul-overlay href="chrome://zopetop/content/Inspector/SitesOverlay.xul"?>
<overlay id="InspectorOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<tabbox id="inspector"
orient="vertical"
flex="1"
style="padding: 5px;">
<tabs orient="horizontal">
<tab label="Sites" />
<tab label="Explorer" />
<tab label="Properties" />
</tabs>
<tabpanels flex="1">
<tabpanel id="sites-panel"
orient="vertical"
flex="1">
<box id="sites-list" />
</tabpanel>
<tabpanel id="explorer-panel"
orient="vertical"
flex="1">
<outliner id="explorer"/>
</tabpanel>
<tabpanel id="props-panel"
orient="vertical"
flex="1">
<box id="props-edit" />
</tabpanel>
</tabpanels>
</tabbox>
</overlay>
=== Added File Packages/MoZTop/content/zopetop/Inspector/PropertiesOverlay.xul ===
<?xml version="1.0"?>
<overlay id="PropertiesOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<box id="props-edit"
orient="vertical"
flex="1">
<groupbox>
<caption label="Edit"/>
<grid>
<columns>
<column />
<column />
<column flex="1"/>
</columns>
<rows>
<row valign="middle" flex="1">
<box />
<label control="field_id" value="Id"/>
<textbox id="field_id" value="loaded"/>
</row>
<row valign="middle" flex="1">
<box />
<label control="field_title" value="Title"/>
<textbox id="field_title" value="This is my loaded Folder"/>
</row>
<row valign="middle" flex="1">
<box />
<label control="field_limit" value="Limit"/>
<textbox id="field_limit" value="1002"/>
</row>
<row valign="middle" flex="1">
<checkbox id="field_propertyIds" checked="false"
value="extra"
style="padding: 0px; margin: 0px;"/>
<label control="field_extra" value="Extra"/>
<textbox id="field_extra" value="super"/>
</row>
</rows>
</grid>
<box>
<spacer flex="100%" />
<button label="Delete" />
<button label="Save" />
</box>
</groupbox>
<groupbox>
<caption label="Add"/>
<grid>
<columns>
<column />
<column flex="1"/>
</columns>
<rows>
<row valign="middle" flex="1">
<label control="field_id" value="Id"/>
<textbox id="field_id"/>
</row>
<row valign="middle" flex="1">
<label control="field_type" value="Type"/>
<menulist id="field_type">
<menupopup>
<menuitem label="Integer"/>
<menuitem label="Float"/>
<menuitem label="String" selected="true"/>
</menupopup>
</menulist>
</row>
<row valign="middle" flex="1">
<label control="field_defaultValue" value="Default"/>
<textbox id="field_defaultValue" />
</row>
</rows>
</grid>
<box>
<spacer flex="100%" />
<button label="Add" />
</box>
</groupbox>
</box>
</overlay>
=== Added File Packages/MoZTop/content/zopetop/Inspector/SitesOverlay.xul ===
<?xml version="1.0"?>
<overlay id="SitesOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
</overlay>
=== Added File Packages/MoZTop/content/zopetop/Inspector/fc.rdf ===
<?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: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>
=== Added File Packages/MoZTop/content/zopetop/Inspector/foldercontents.rdf ===
<?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:foldera">
<EXPLORER:name>Folder A</EXPLORER:name>
</RDF:Description>
<RDF:Description about="urn:explorer:foldera:documenta">
<EXPLORER:name>Document A</EXPLORER:name>
<EXPLORER:size>7,200</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:folderb">
<EXPLORER:name>Folder B</EXPLORER:name>
</RDF:Description>
<RDF:Description about="urn:explorer:birds:emu">
<EXPLORER:name>Document A</EXPLORER:name>
<EXPLORER:size>2,980</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:birds:barnowl" EXPLORER:specimens="4">
<EXPLORER:name>Document B</EXPLORER:name>
<EXPLORER:size>19,200</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:birds:raven" EXPLORER:specimens="0">
<EXPLORER:name>Document C</EXPLORER:name>
<EXPLORER:size>3,999</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:folderc">
<EXPLORER:name>Folder C</EXPLORER:name>
</RDF:Description>
<RDF:Description about="urn:explorer:fish:cod" EXPLORER:specimens="0">
<EXPLORER:name>Document A</EXPLORER:name>
<EXPLORER:size>44,211</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:fish:swordfish" EXPLORER:specimens="3">
<EXPLORER:name>Document B</EXPLORER:name>
<EXPLORER:size>16,788</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:folderd">
<EXPLORER:name>Folder D</EXPLORER:name>
</RDF:Description>
<RDF:Description about="urn:explorer:mammals:lion" EXPLORER:specimens="4">
<EXPLORER:name>Document A</EXPLORER:name>
<EXPLORER:size>2,333</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:mammals:hippopotamus" EXPLORER:specimens="2">
<EXPLORER:name>Document B</EXPLORER:name>
<EXPLORER:size>8,000</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:mammals:africanelephant" EXPLORER:specimens="4">
<EXPLORER:name>Document C</EXPLORER:name>
<EXPLORER:size>34,225</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:mammals:llama" EXPLORER:specimens="3">
<EXPLORER:name>Document D</EXPLORER:name>
<EXPLORER:size>7,888</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:mammals:polarbear" EXPLORER:specimens="0">
<EXPLORER:name>Document E</EXPLORER:name>
<EXPLORER:size>9,711</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:mammals:aardvark" EXPLORER:specimens="2">
<EXPLORER:name>Document F</EXPLORER:name>
<EXPLORER:size>5,100</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:mammals:ninebandedarmadillo" EXPLORER:specimens="0">
<EXPLORER:name>Document G</EXPLORER:name>
<EXPLORER:size>7,655</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:foldere">
<EXPLORER:name>Folder E</EXPLORER:name>
</RDF:Description>
<RDF:Description about="urn:explorer:reptiles:anaconda" EXPLORER:specimens="1">
<EXPLORER:name>Document A</EXPLORER:name>
<EXPLORER:size>100,544</EXPLORER:size>
</RDF:Description>
<RDF:Description about="urn:explorer:reptiles:chameleon" EXPLORER:specimens="2">
<EXPLORER:name>Document B</EXPLORER:name>
<EXPLORER:size>12,655</EXPLORER:size>
</RDF:Description>
<RDF:Seq about="urn:explorer:data">
<RDF:li>
<RDF:Seq about="urn:explorer:foldera">
<RDF:li resource="urn:explorer:foldera:documenta"/>
</RDF:Seq>
<RDF:Seq about="urn:explorer:folderb">
<RDF:li resource="urn:explorer:birds:emu"/>
<RDF:li resource="urn:explorer:birds:barnowl"/>
<RDF:li resource="urn:explorer:birds:raven"/>
</RDF:Seq>
<RDF:Seq about="urn:explorer:folderc">
<RDF:li resource="urn:explorer:fish:cod"/>
<RDF:li resource="urn:explorer:fish:swordfish"/>
</RDF:Seq>
<RDF:Seq about="urn:explorer:folderd">
<RDF:li resource="urn:explorer:mammals:lion"/>
<RDF:li resource="urn:explorer:mammals:hippopotamus"/>
<RDF:li resource="urn:explorer:mammals:africanelephant"/>
<RDF:li resource="urn:explorer:mammals:llama"/>
<RDF:li resource="urn:explorer:mammals:polarbear"/>
<RDF:li resource="urn:explorer:mammals:aardvark"/>
<RDF:li resource="urn:explorer:mammals:ninebandedarmadillo"/>
</RDF:Seq>
<RDF:Seq about="urn:explorer:foldere">
<RDF:li resource="urn:explorer:reptiles:anaconda"/>
<RDF:li resource="urn:explorer:reptiles:chameleon"/>
</RDF:Seq>
</RDF:li>
</RDF:Seq>
</RDF:RDF>