1 | <?xml version="1.0" encoding="UTF-8" ?> |
---|
2 | <?xml-stylesheet href="chrome://browser/skin/searchbar.css" type="text/css"?> |
---|
3 | <?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?> |
---|
4 | <?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?> |
---|
5 | <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> |
---|
6 | <?xml-stylesheet href="chrome://markingcollection/skin/sidebar.css" type="text/css"?> |
---|
7 | <?xml-stylesheet href="chrome://markingcollection/skin/overlay.css" type="text/css"?> |
---|
8 | <!DOCTYPE overlay SYSTEM "chrome://markingcollection/locale/markingcollection.dtd"> |
---|
9 | <overlay |
---|
10 | id="treeprojectOverlay" |
---|
11 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
---|
12 | xmlns:html="http://www.w3.org/1999/xhtml"> |
---|
13 | <script type="application/x-javascript"> |
---|
14 | <![CDATA[ |
---|
15 | function _treeprojectMainInit(aEvent){ |
---|
16 | window.top.bitsTreeProjectService.load(aEvent); |
---|
17 | } |
---|
18 | function _treeprojectMainDone(aEvent){ |
---|
19 | window.top.bitsTreeProjectService.unload(aEvent); |
---|
20 | } |
---|
21 | window.addEventListener("load", _treeprojectMainInit, false); |
---|
22 | window.addEventListener("unload", _treeprojectMainDone, false); |
---|
23 | ]]> |
---|
24 | </script> |
---|
25 | <popupset id="mcPopupSet"> |
---|
26 | <menupopup id="mcPopup"> |
---|
27 | <menu id="mcPopupProjectIndexMenu" class="menu-iconic" label="&markingcollection.project.index.menu.caption;" image="chrome://markingcollection/skin/index_list.png" insertafter="mcPopupViewMenu"> |
---|
28 | <menupopup id="mcPopupProjectIndexMenupopup"> |
---|
29 | <menu |
---|
30 | class="menu-iconic" |
---|
31 | label="&markingcollection.project.index.menu.display;" |
---|
32 | image="chrome://markingcollection/skin/index_list.png"> |
---|
33 | <menupopup> |
---|
34 | <menuitem |
---|
35 | id="mcPopupProjectIndexOutputMenuitem" |
---|
36 | class="menuitem-iconic" |
---|
37 | label="&markingcollection.project.index.menu.display.normal;..." |
---|
38 | image="chrome://markingcollection/skin/stylesheet.png" |
---|
39 | oncommand="window.top.bitsTreeProjectService.displayIndex(event,'chrome://markingcollection/content/treeindex_standard.xsl');"/> |
---|
40 | <menuitem |
---|
41 | id="mcPopupProjectIndexOutputMenuitem" |
---|
42 | class="menuitem-iconic" |
---|
43 | label="&markingcollection.project.index.menu.display.url;..." |
---|
44 | image="chrome://markingcollection/skin/stylesheet.png" |
---|
45 | oncommand="window.top.bitsTreeProjectService.displayIndex(event,'chrome://markingcollection/content/treeindex_url.xsl');"/> |
---|
46 | </menupopup> |
---|
47 | </menu> |
---|
48 | <menuitem |
---|
49 | id="mcPopupCreateProjectContents1" |
---|
50 | class="menuitem-iconic" |
---|
51 | label="&markingcollection.project.index.menu.save;..." |
---|
52 | image="chrome://markingcollection/skin/index_save.png" |
---|
53 | oncommand="window.top.bitsTreeProjectService.saveIndex(event);"/> |
---|
54 | </menupopup> |
---|
55 | </menu> |
---|
56 | <menu |
---|
57 | id="mcPopupProjectMainMenu" |
---|
58 | class="menu-iconic" |
---|
59 | label="&markingcollection.menu.project;" |
---|
60 | image="chrome://markingcollection/skin/project.png" |
---|
61 | insertbefore="mcPopupOpen" |
---|
62 | hidden="true"> |
---|
63 | <menupopup id="mcPopupProjectMainMenupopup"> |
---|
64 | <menuitem |
---|
65 | label="&markingcollection.open;" |
---|
66 | oncommand="alert('cmd_project_make_dictionary')" /> |
---|
67 | <menuitem |
---|
68 | id="bitsTreeProjectPopupOpenNewTab" |
---|
69 | label="&markingcollection.open.newtab;"/> |
---|
70 | <menuseparator observes="bitsTreeProjectPopupOpen"/> |
---|
71 | <menuitem |
---|
72 | id="bitsTreeProjectPopupRemove" |
---|
73 | class="menuitem-iconic" |
---|
74 | label="&markingcollection.remove;" |
---|
75 | image="chrome://markingcollection/skin/menu_remove.png"/> |
---|
76 | <menuseparator observes="bitsTreeProjectPopupRemove"/> |
---|
77 | <menuitem |
---|
78 | id="bitsTreeProjectPopupProperty" |
---|
79 | class="menuitem-iconic" |
---|
80 | label="&markingcollection.property;" |
---|
81 | image="chrome://markingcollection/skin/menu_property.png"/> |
---|
82 | </menupopup> |
---|
83 | </menu> |
---|
84 | <menuseparator observes="mcPopupProjectMainMenu" insertbefore="mcPopupOpen"/> |
---|
85 | <menuseparator |
---|
86 | observes="mcPopupProjectDocumentsMenu" |
---|
87 | insertbefore="mcPopupImportTagMenuSeparator"/> |
---|
88 | <menu |
---|
89 | id="mcPopupProjectDocumentsMenu" |
---|
90 | class="menu-iconic" |
---|
91 | label="&markingcollection.menu.documents;" |
---|
92 | image="chrome://markingcollection/skin/documents.png" |
---|
93 | insertbefore="mcPopupImportTagMenuSeparator"> |
---|
94 | <menupopup id="mcPopupProjectDocumentsMenupopup"> |
---|
95 | <menuitem |
---|
96 | label="&markingcollection.project.documents.select.folder;..." |
---|
97 | class="menuitem-iconic" |
---|
98 | image="chrome://markingcollection/skin/toolbar_folder.png" |
---|
99 | oncommand="window.top.bitsTreeProjectService.readDocumentFromFolder(event);" /> |
---|
100 | <menuitem |
---|
101 | label="&markingcollection.project.documents.select.file;..." |
---|
102 | class="menuitem-iconic" |
---|
103 | image="chrome://markingcollection/skin/documents.png" |
---|
104 | oncommand="window.top.bitsTreeProjectService.readDocumentFromFile(event);" /> |
---|
105 | </menupopup> |
---|
106 | </menu> |
---|
107 | <menuseparator |
---|
108 | observes="mcPopupProjectDictionaryMenu" |
---|
109 | insertbefore="mcPopupImportTagMenuSeparator"/> |
---|
110 | <menu |
---|
111 | id="mcPopupProjectDictionaryMenu" |
---|
112 | class="menu-iconic" |
---|
113 | label="&markingcollection.menu.dictionary;" |
---|
114 | image="chrome://markingcollection/skin/dictionary.png" |
---|
115 | insertbefore="mcPopupImportTagMenuSeparator"> |
---|
116 | <menupopup id="mcPopupProjectDictionaryMenupopup"> |
---|
117 | <menuitem |
---|
118 | label="&markingcollection.project.dictionary.apply;" |
---|
119 | class="menuitem-iconic" |
---|
120 | image="chrome://markingcollection/skin/dictionary_apply.png" |
---|
121 | oncommand="window.top.bitsTreeProjectService.applyDictionary(event)" /> |
---|
122 | <menuseparator/> |
---|
123 | <menuitem |
---|
124 | label="&markingcollection.project.dictionary.edit;" |
---|
125 | class="menuitem-iconic" |
---|
126 | image="chrome://markingcollection/skin/dictionary_edit.png" |
---|
127 | oncommand="window.top.bitsTreeProjectService.makeDictionary(event)" /> |
---|
128 | <menuseparator/> |
---|
129 | <menuitem |
---|
130 | label="&markingcollection.project.dictionary.read;..." |
---|
131 | class="menuitem-iconic" |
---|
132 | image="chrome://markingcollection/skin/toolbar_folder.png" |
---|
133 | oncommand="window.top.bitsTreeProjectService.readDictionary(event)" /> |
---|
134 | <menuitem |
---|
135 | label="&markingcollection.project.dictionary.save;..." |
---|
136 | class="menuitem-iconic" |
---|
137 | image="chrome://markingcollection/skin/dictionary_save.png" |
---|
138 | oncommand="window.top.bitsTreeProjectService.saveDictionary(event)" /> |
---|
139 | <menuitem |
---|
140 | label="&markingcollection.project.dictionary.management;..." |
---|
141 | class="menuitem-iconic" |
---|
142 | image="chrome://markingcollection/skin/management.png" |
---|
143 | oncommand="window.top.bitsTreeProjectService.mngDictionary(event)" /> |
---|
144 | </menupopup> |
---|
145 | </menu> |
---|
146 | <menu id="mcPopupProjectAnchorMenu" class="menu-iconic" label="&markingcollection.menu.anchor;" image="chrome://markingcollection/skin/hyperanchor.png" insertbefore="mcPopupOpen" hidden="true"> |
---|
147 | <menupopup id="mcPopupProjectAnchorMenupopup"> |
---|
148 | <menuitem |
---|
149 | label="&markingcollection.open;" |
---|
150 | oncommand="alert('cmd_project_make_dictionary')" /> |
---|
151 | </menupopup> |
---|
152 | </menu> |
---|
153 | <menuseparator observes="mcPopupProjectAnchorMenu" insertbefore="mcPopupOpen"/> |
---|
154 | </menupopup> |
---|
155 | </popupset> |
---|
156 | </overlay> |
---|