2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/app_shell.dtd">
3 <overlay id="app_shell_overlay"
4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6 <script>mw.sdump('D_TRACE','Loading app_shell_overlay.xul\n');</script>
8 <?xul-overlay href="chrome://evergreen/content/main/app_shell_menus_overlay.xul"?>
10 <commandset id="AppShell_cmds">
12 <command id="cmd_close_window" oncommand="
15 <command id="cmd_new_window" oncommand="
18 <command id="cmd_new_tab" oncommand="
19 mw.new_tab(document,'main_tabbox');" />
21 <command id="cmd_close_tab" oncommand="
22 mw.close_tab(document,'main_tabbox');" />
24 <command id="cmd_cat_main" oncommand="
25 mw.spawn_opac_navigator(document,'replace_tab','main_tabbox',{}); "/>
27 <command id="cmd_circ_checkout" oncommand="
28 mw.spawn_check_out(document,'replace_tab','main_tabbox',{}); "/>
30 <command id="cmd_circ_search" oncommand="
31 mw.spawn_patron_search(document,'replace_tab','main_tabbox',{}); "/>
33 <command id="cmd_circ_display" oncommand="
34 mw.spawn_circ_display(document,'replace_tab','main_tabbox',{}); "/>
36 <command id="cmd_circ_checkin" oncommand="
37 mw.spawn_check_in(document,'replace_tab','main_tabbox',{}); "/>
39 <command id="cmd_search_opac" oncommand="
40 mw.spawn_opac_navigator(document,'replace_tab','main_tabbox',{}); "/>
42 <command id="cmd_patron_register" oncommand="
43 mw.spawn_patron_register(document,'replace_tab','main_tabbox',{}); "/>
45 <command id="cmd_survey_wizard" oncommand="
46 mw.spawn_survey_admin_wizard(document,'new_window','',{}); "/>
48 <command id="cmd_copy_stat_cat_edit" oncommand="
49 mw.spawn_copy_stat_cat_edit(document,'replace_tab','main_tabbox',{}); "/>
51 <command id="cmd_patron_stat_cat_edit" oncommand="
52 mw.spawn_patron_stat_cat_edit(document,'replace_tab','main_tabbox',{}); "/>
54 <command id="cmd_z39_50_import_old" oncommand="
55 mw.spawn_z3950_import(document,'replace_tab','main_tabbox',{}); "/>
57 <command id="cmd_console" oncommand="
58 mw.spawn_javascript_console(document,'new_tab','main_tabbox',{}); "/>
60 <command id="cmd_shell" oncommand="
61 mw.spawn_javascript_shell(document,'new_tab','main_tabbox',{}); "/>
63 <command id="cmd_xuleditor" oncommand="
64 mw.spawn_xuleditor(document,'new_tab','main_tabbox',{}); "/>
66 <command id="cmd_filter_console" oncommand="
67 mw.spawn_filter_console(document,'new_tab','main_tabbox',{}); "/>
69 <command id="cmd_test" oncommand="
70 alert('Not Yet Implemented'); "/>
72 <command id="cmd_broken" oncommand="
73 alert('Not Yet Implemented'); "/>
77 <!-- The top level widget for the staff client -->
78 <box id="AppShell_main" flex="1" orient="vertical">
79 <toolbox id="main_toolbox"/>
80 <tabbox id="main_tabbox" flex="1" eventnode="window" handleCtrlTab="true">
81 <tabs id="main_tabs" closebutton="true">
82 <tab id="tab_1" accesskey="1" label="Tab 1" hidden="true" />
83 <tab id="tab_2" accesskey="2" label="Tab 2" hidden="true" />
84 <tab id="tab_3" accesskey="3" label="Tab 3" hidden="true" />
85 <tab id="tab_4" accesskey="4" label="Tab 4" hidden="true" />
86 <tab id="tab_5" accesskey="5" label="Tab 5" hidden="true" />
87 <tab id="tab_6" accesskey="6" label="Tab 6" hidden="true" />
88 <tab id="tab_7" accesskey="7" label="Tab 7" hidden="true" />
89 <tab id="tab_8" accesskey="8" label="Tab 8" hidden="true" />
90 <tab id="tab_9" accesskey="9" label="Tab 9" hidden="true" />
92 <tabpanels id="main_panels" flex="1">
93 <tabpanel id="panel_1"><label value="panel_1"/></tabpanel>
94 <tabpanel id="panel_2"><label value="panel_2"/></tabpanel>
95 <tabpanel id="panel_3"><label value="panel_3"/></tabpanel>
96 <tabpanel id="panel_4"><label value="panel_4"/></tabpanel>
97 <tabpanel id="panel_5"><label value="panel_5"/></tabpanel>
98 <tabpanel id="panel_6"><label value="panel_6"/></tabpanel>
99 <tabpanel id="panel_7"><label value="panel_7"/></tabpanel>
100 <tabpanel id="panel_8"><label value="panel_8"/></tabpanel>
101 <tabpanel id="panel_9"><label value="panel_9"/></tabpanel>
104 <toolbox id="entity_toolbox"/>
107 <!-- The main top level menubar -->
108 <toolbox id="main_toolbox">
109 <menubar id="main_menubar">
110 <menu id="main.menu.file" />
111 <menu id="main.menu.edit" />
112 <menu id="main.menu.search" />
113 <menu id="main.menu.circ" />
114 <menu id="main.menu.cat" />
115 <menu id="main.menu.serials" />
116 <menu id="main.menu.acquisitions" />
117 <menu id="main.menu.reports" />
119 <menu id="main.menu.admin" />
120 <menu id="main.menu.help" />
124 <!-- The Entity top level menubar -->
126 <toolbox id="entity_toolbox">
127 <menubar id="entity_menubar">
128 <menu id="patron-menu" label="&main.menu.entity.patron.label;" accesskey="&main.menu.entity.patron.key;" command="cmd_broken"/>
129 <menu id="copy-menu" label="&main.menu.entity.copy.label;" accesskey="&main.menu.entity.copy.key;" command="cmd_broken"/>
130 <menu id="volume-menu" label="&main.menu.entity.volume.label;" accesskey="&main.menu.entity.volume.key;" command="cmd_broken"/>
131 <menu id="bib-menu" label="&main.menu.entity.bib.label;" accesskey="&main.menu.entity.bib.key;" command="cmd_broken"/>
136 <!-- The Patron menu on the Entity menubar -->
138 <menu id="patron-menu">
139 <menupopup id="patron-popup">
140 <menuitem label="&main.menu.circ.patron_registration.label;" accesskey="&main.menu.entity.patron.register.key;" command="cmd_patron_register"/>
141 <menuitem label="stub" />
142 <menuitem label="stub" />
147 <!-- The Items menu on the Entity menubar -->
149 <menu id="copy-menu">
150 <menupopup id="copy-popup">
151 <menuitem label="stub" />
152 <menuitem label="stub" />
153 <menuitem label="stub" />
158 <!-- The Volumes menu on the Entity menubar -->
160 <menu id="volume-menu">
161 <menupopup id="volume-popup">
162 <menuitem label="stub" />
163 <menuitem label="stub" />
164 <menuitem label="stub" />
169 <!-- The Bib Records menu on the Entity menubar -->
172 <menupopup id="bib-popup">
173 <menuitem label="stub" />
174 <menuitem label="stub" />
175 <menuitem label="stub" />
180 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
181 <keyset id="AppShell_keys">
182 <key id="file-new-key" modifiers="accel" key="N" command="cmd_new_window"/>
183 <key id="file-new-tab-key" modifiers="accel" key="T" command="cmd_new_tab"/>
184 <key id="file-open-key" modifiers="accel" key="O" command=""/>
185 <key id="file-save-key" modifiers="accel" key="S" command=""/>
186 <key id="file-close-tab-key" modifiers="accel" key="W" command="cmd_close_tab"/>
187 <key id="file-close-key" modifiers="accel" key="Q" command="cmd_close_window"/>
189 <key id="edit-undo-key" modifiers="accel" key="Z" command=""/>
190 <key id="edit-redo-key" modifiers="accel" key="Y" command=""/>
191 <key id="edit-cut-key" modifiers="accel" key="X" command=""/>
192 <key id="edit-copy-key" modifiers="accel" key="C" command=""/>
193 <key id="edit-paste-key" modifiers="accel" key="V" command=""/>
194 <key id="edit-delete-key" modifiers="" keycode="VK_DELETE" command=""/>
195 <key id="edit-select-all-key" modifiers="accel" key="A" command=""/>
196 <key id="edit-find-key" modifiers="accel" key="F" command=""/>
197 <key id="edit-find-again-key" modifiers="accel" key="G" command=""/>
199 <key id="circ-patron-status-key" keycode="VK_F11" command="cmd_circ_display"/>
200 <key id="circ-copy-status-key" keycode="VK_F9" command=""/>
201 <key id="circ-check-out-key" keycode="VK_F1" command="cmd_circ_checkout"/>
202 <key id="circ-check-in-key" keycode="VK_F2" command="cmd_circ_checkin"/>
203 <key id="circ-renew-key" keycode="VK_F3" command=""/>
204 <key id="circ-mark-used-key" keycode="VK_F4" command=""/>
205 <key id="circ-place-hold-key" keycode="VK_F5" command=""/>
206 <key id="circ-patron-registration-key" keycode="VK_F12" command=""/>
208 <key id="file-key" keycode="VK_F1" oncommand="get_widget('main.menu.file').focus();" />