annotate xul/content/annota.xul @ 209:28e861dc3467

Enhanced the robustness of the annotation tab.
author slarti
date Thu, 25 Mar 2004 17:45:31 +0100
parents 49cb8a445126
children e1c302129599
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
199
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
1 <?xml version="1.0" ?>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
2 <?xml-stylesheet href="chrome://alcatraz/skin/" type="text/css" ?>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
3 <?xml-stylesheet href="chrome://global/skin/" type="text/css" ?>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
4
209
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
5 <window xmlns:html="http://www.w3.org/1999/xhtml"
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
7 onload="setTreeDirectory()">
199
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
8
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
9 <script type="application/x-javascript" src="chrome://jslib/content/jslib.js" />
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
10 <script type="application/x-javascript" src="chrome://alcatraz/content/alcatraz.js" />
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
11 <script type="application/x-javascript" src="chrome://alcatraz/content/annota.js" />
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
12 <script type="application/x-javascript" src="chrome://alcatraz/content/rdfds.js" />
209
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
13 <script type="application/x-javascript" src="chrome://alcatraz/content/RDFTree.js" />
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
14
199
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
15
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
16 <!-- ANNOTA -->
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
17 <tabpanel id="annota_tab" orient="vertical">
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
18 <vbox flex="1">
209
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
19 <hbox flex="1">
199
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
20 <toolbarbutton id="annota_file" type="menu" label="File">
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
21 <menupopup id="file_popup">
209
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
22 <menuitem label="Save" onclick="quickSave()"/>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
23 <menuitem label="Delete" oncommand="deleteAnnotation()"/>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
24 <!-- <menuitem label="Save as..." onclick="saveAs()" /> -->
199
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
25 </menupopup>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
26 </toolbarbutton>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
27 <toolbarbutton id="annota_options" type="menu" label="Options">
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
28 <menupopup id="options_popup">
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
29 <menuitem id="local" label="Local" type="radio" name="location" checked="true" onclick="file_local()" />
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
30 <menuitem id="annotaDB" label="Annota DB" type="radio" name="location" onclick="file_annotaDB()" />
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
31 <menuseparator/>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
32 <menuitem id="tool_path" label="Tool URL" onclick="show_dialog('tool path')" />
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
33 <menuitem id="annotations_path" label="Path to annotations" onclick="file_open()" />
209
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
34 <menuitem id="creator_name" label="Name of creator" onclick="show_dialog('creator')" />
199
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
35 <menuseparator/>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
36 <menuitem id="save_options" label="Save Options" onclick="setProfile()" />
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
37 </menupopup>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
38 </toolbarbutton>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
39 <toolbarbutton id="annota_annotation" type="menu" label="Annotation">
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
40 <menupopup id="text_popup">
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
41 <menuitem label="Text Annotation" onclick="dialog_annotate();" />
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
42 </menupopup>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
43 </toolbarbutton>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
44 </hbox>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
45
209
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
46 <tree id="annotation_tree" flex="100" datasources="rdf:null" ref="urn:echo" ondblclick="tree_click()"
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
47 height="100%">
199
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
48
209
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
49 <treecols id="cols">
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
50 <treecol id="name" label="Name" primary="true" flex="10"/>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
51 <treecol id="pagenumber" label="Page" flex="1"/>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
52 <treecol id="url" label="URL" hidden="true" flex="5"/>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
53 <treecol id="created" label="Created" hidden="true" flex="5"/>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
54 </treecols>
199
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
55
209
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
56 <template>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
57 <rule>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
58 <treechildren flex="1" >
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
59 <treeitem uri="rdf:*" persist="open">
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
60 <treerow>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
61 <treecell id="nameHeader" label="rdf:http://purl.org/dc/elements/1.0/title"/>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
62 <treecell id="pagenumberHeader" label="rdf:http://echo.unibe.ch/digilib/rdf#pn"/>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
63 <treecell id="urlHeader" label="rdf:http://echo.unibe.ch/digilib/rdf#fn"/>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
64 <treecell id="createdHeader" label="rdf:http://www.w3.org/2000/10/annotation-ns#created"/>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
65 </treerow>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
66 </treeitem>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
67 </treechildren>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
68 </rule>
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
69 </template>
199
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
70 </tree>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
71
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
72 </vbox>
49cb8a445126 restarting with version control of xul sidebar/toolbar
luginbue
parents:
diff changeset
73 </tabpanel>
209
28e861dc3467 Enhanced the robustness of the annotation tab.
slarti
parents: 199
diff changeset
74 </window>