]> err.no Git - scalable-opengroupware.org/blob - UI/MailerUI/product.plist
moved SOGo files up
[scalable-opengroupware.org] / UI / MailerUI / product.plist
1 {
2   requires = ( MAIN, CommonUI, Mailer, Sieve );
3
4   publicResources = (
5     "uix.css",
6     "mailer.css",
7     "mailer.js",
8     "generic.js",
9     "searchfield.js",
10     "UIxAppointmentEditor.js",
11     "UIxContactEditor.js",
12     "UIxMailToSelection.js",
13
14     "lori_32x32.png",
15     
16     "tbtv_account_17x17.gif",
17     "tbtv_drafts_17x17.gif",
18     "tbtv_inbox_17x17.gif",
19     "tbtv_junction2_17x17.gif",
20     "tbtv_junction_17x17.gif",
21     "tbtv_leaf_corner_17x17.gif",
22     "tbtv_line_17x17.gif",
23     "tbtv_minus_17x17.gif",
24     "tbtv_plus_17x17.gif",
25     "tbtv_corner_17x17.gif",
26     "tbtv_corner_minus_17x17.gif",
27     "tbtv_corner_plus_17x17.gif",
28     "tbtv_sent_17x17.gif",
29     "tbtv_trash_17x17.gif",
30     
31     "tbtb_addressbook.png",
32     "tbtb_compose.png",
33     "tbtb_delete.png",
34     "tbtb_deletedoc.png",
35     "tbtb_filetofolder.png",
36     "tbtb_forward.png",
37     "tbtb_getmail.png",
38     "tbtb_next.png",
39     "tbtb_previous.png",
40     "tbtb_print.png",
41     "tbtb_reply.png",
42     "tbtb_replyall.png",
43     "tbtb_search.png",
44     "tbtb_trash.png",
45
46     "tbtb_compose_addressbook_30x30.png",
47     "tbtb_compose_attach_30x30.png",
48     "tbtb_compose_clip_30x30.png",
49     "tbtb_compose_cut_30x30.png",
50     "tbtb_compose_dup_30x30.png",
51     "tbtb_compose_file_30x30.png",
52     "tbtb_compose_lock_30x30.png",
53     "tbtb_compose_quote_30x30.png",
54     "tbtb_compose_send_30x30.png",
55     "tbtb_compose_spell_30x30.png",
56
57     "message-mail.png",
58     "message-mail-read.png",
59
60     "icon_mark_flagged.gif",
61     "icon_mark_read.gif",
62     "icon_mark_unflagged.gif",
63     "icon_mark_unread.gif",
64     "icon_read.gif",
65     "icon_unread.gif",
66
67     "title_attachment_14x14.png",
68     "title_config.png",
69     "title_junk.png",
70     "title_read_14x14.png",
71     "title_thread.png",
72     "title_sortdown_12x12.png",
73     "title_sortup_12x12.png",
74   );
75
76   factories = {
77   };
78
79   categories = {
80     SOGoMailFolder = {
81       slots = {
82         toolbar = {
83           protectedBy = "View";
84           value = "SOGoMailFolder.toolbar";
85         };
86       };
87       methods = {
88         view = {
89           protectedBy = "View";
90           pageName    = "UIxMailListView"; 
91         };
92         "tb.view" = { /* primary entry for mailer actions */
93           protectedBy = "View";
94           pageName    = "UIxMailListView"; 
95         };
96         index = {
97           protectedBy = "View";
98           pageName    = "UIxMailListView"; 
99         };
100         GET = { /* hack to make it work as the default method */
101           protectedBy = "View";
102           pageName    = "UIxMailListView"; 
103         };
104         
105         markMessageUnread = {
106           protectedBy = "View";
107           pageName    = "UIxMailListView"; 
108           actionName  = "markMessageUnread";
109         };
110         markMessageRead = {
111           protectedBy = "View";
112           pageName    = "UIxMailListView"; 
113           actionName  = "markMessageRead";
114         };
115         getMail = {
116           protectedBy = "View";
117           pageName    = "UIxMailListView"; 
118           actionName  = "getMail";
119         };
120         expunge = {
121           protectedBy = "View";
122           pageName    = "UIxMailListView"; 
123           actionName  = "expunge";
124         };
125         
126         createFolder = {
127           protectedBy = "View";
128           pageName    = "UIxMailListView"; 
129           actionName  = "createFolder";
130         };
131         deleteFolder = {
132           protectedBy = "View";
133           pageName    = "UIxMailListView"; 
134           actionName  = "deleteFolder";
135         };
136         
137         editACL = {
138           protectedBy = "View";
139           pageName    = "UIxMailFolderACLEditor";
140         };
141         
142         compose = {
143           protectedBy = "View";
144           actionClass = "UIxMailEditorAction"; 
145           actionName  = "compose";
146         };
147       };
148     };
149
150     SOGoTrashFolder = {
151       /* just a new toolbar, other things come from SOGoMailFolder */
152       slots = {
153         toolbar = {
154           protectedBy = "View";
155           value = "SOGoTrashFolder.toolbar";
156         };
157       };
158       methods = {
159         emptyTrash = {
160           protectedBy = "View";
161           pageName    = "UIxMailListView"; 
162           actionName  = "emptyTrash";
163         };
164       };
165     };
166
167     SOGoMailObject = {
168       slots = {
169         toolbar = {
170           protectedBy = "View";
171           value = "SOGoMailObject.toolbar";
172         };
173       };
174       methods = {
175         view = { 
176           protectedBy = "View";
177           pageName    = "UIxMailView"; 
178         };
179         "tb.view" = { /* primary entry for mailer actions */
180           protectedBy = "View";
181           pageName    = "UIxMailView"; 
182         };
183
184         getMail = {
185           protectedBy = "View";
186           pageName    = "UIxMailView"; 
187           actionName  = "getMail";
188         };
189
190         delete = { 
191           protectedBy = "View";
192           pageName    = "UIxMailView"; 
193           actionName  = "delete";
194         };
195         trash = { 
196           protectedBy = "View";
197           pageName    = "UIxMailView"; 
198           actionName  = "trash";
199         };
200         junk = { 
201           protectedBy = "View";
202           pageName    = "UIxMailView"; 
203           actionName  = "junk";
204         };
205         edit = { 
206           protectedBy = "View";
207           pageName    = "UIxMailEditor"; 
208         };
209         compose = {
210           protectedBy = "View";
211           actionClass = "UIxMailEditorAction"; 
212           actionName  = "compose";
213         };
214         reply = {
215           protectedBy = "View";
216           actionClass = "UIxMailReplyAction"; 
217           actionName  = "reply";
218         };
219         replyall = {
220           protectedBy = "View";
221           actionClass = "UIxMailReplyAction"; 
222           actionName  = "replyall";
223         };
224         forward = {
225           protectedBy = "View";
226           actionClass = "UIxMailForwardAction"; 
227           actionName  = "forward";
228         };
229       };
230     };
231     
232     SOGoMailAccounts = {
233       slots = {
234         toolbar = {
235           protectedBy = "View";
236           value = ( /* the toolbar groups */
237             ( /* first group */
238               { link  = "getMail";
239                 cssClass = "tbicon_getmail"; label = "Get Mail"; },
240             )
241           );
242         };
243       };
244       methods = {
245         view = {
246           protectedBy = "View";
247           pageName    = "UIxMailAccountsView"; 
248         };
249         "tb.view" = { /* primary entry for mailer actions */
250           protectedBy = "View";
251           pageName    = "UIxMailAccountsView"; 
252         };
253         getMail = {
254           protectedBy = "View";
255           pageName    = "UIxMailAccountsView"; 
256         };
257       };
258     };
259     
260     SOGoMailAccount = {
261       slots = {
262         toolbar = {
263           protectedBy = "View";
264           value = "SOGoMailAccount.toolbar";
265         };
266       };
267       methods = {
268         view = {
269           protectedBy = "View";
270           pageName    = "UIxMailAccountView"; 
271         };
272         "tb.view" = { /* primary entry for mailer actions */
273           protectedBy = "View";
274           pageName    = "UIxMailAccountView"; 
275         };
276         getMail = {
277           protectedBy = "View";
278           pageName    = "UIxMailAccountView"; 
279         };
280         addressbook = {
281           protectedBy = "View";
282           pageName    = "UIxMailAddressbook"; 
283         };
284         anais = {
285           protectedBy = "View";
286           pageName    = "UIxMailAddressbook";
287           actionName  = "anais";
288         };
289         compose = {
290           protectedBy = "View";
291           actionClass = "UIxMailEditorAction"; 
292           actionName  = "compose";
293         };
294         createFolder = {
295           protectedBy = "View";
296           pageName    = "UIxMailAccountView"; 
297           actionName  = "createFolder";
298         };
299       };
300     };
301
302     SOGoDraftsFolder = {
303       slots = {
304         toolbar = {
305           protectedBy = "View";
306           value = ( /* the toolbar groups */
307             ( /* first group */
308               { link  = "getMail";
309                 cssClass = "tbicon_getmail"; label = "Get Mail"; },
310               {
311                 link     = "#"; // "compose"; // target = "_blank";
312                 isSafe = NO;
313                 onclick  = "clickedCompose(this);return false;";
314                 cssClass = "tbicon_compose"; label = "Write"; },
315             )
316           );
317         };
318       };
319       methods = {
320         view = {
321           protectedBy = "View";
322           pageName    = "UIxMailListView"; 
323         };
324         "tb.view" = { /* primary entry for mailer actions */
325           protectedBy = "View";
326           pageName    = "UIxMailListView"; 
327         };
328         getMail = {
329           protectedBy = "View";
330           pageName    = "UIxMailListView"; 
331         };
332         compose = {
333           protectedBy = "View";
334           actionClass = "UIxMailEditorAction"; 
335           actionName  = "compose";
336         };
337       };
338     };
339
340     SOGoDraftObject = {
341       slots = {
342         toolbar = {
343           protectedBy = "View";
344           value       = "SOGoDraftObject.toolbar";
345         };
346       };
347       methods = {
348         view = { /* somewhat hackish */
349           protectedBy = "View";
350           pageName    = "UIxMailEditor"; 
351         };
352         "tb.view" = { /* primary entry for mailer actions */
353           protectedBy = "View";
354           pageName    = "UIxMailEditor"; 
355         };
356         edit = {
357           protectedBy = "View";
358           pageName    = "UIxMailEditor"; 
359           actionName  = "edit";
360         };
361         save = {
362           protectedBy = "View";
363           pageName    = "UIxMailEditor"; 
364           actionName  = "save";
365         };
366         delete = {
367           protectedBy = "View";
368           pageName    = "UIxMailEditor"; 
369           actionName  = "delete";
370         };
371
372         viewAttachments = {
373           protectedBy = "View";
374           pageName    = "UIxMailEditorAttach"; 
375           actionName  = "viewAttachments";
376         };
377         attach = {
378           protectedBy = "View";
379           pageName    = "UIxMailEditorAttach"; 
380           actionName  = "attach";
381         };
382         deleteAttachment = {
383           protectedBy = "View";
384           pageName    = "UIxMailEditorAttach"; 
385           actionName  = "deleteAttachment";
386         };
387
388         send = {
389           protectedBy = "View";
390           pageName    = "UIxMailEditor"; 
391           actionName  = "send";
392         };
393         addressbook = {
394           protectedBy = "View";
395           pageName    = "UIxMailAddressbook";
396         };
397         anais = {
398           protectedBy = "View";
399           pageName    = "UIxMailAddressbook";
400           actionName  = "anais";
401         };
402       };
403     };
404
405     /* Sieve */
406     
407     SOGoSieveScriptsFolder = {
408       slots = {
409         toolbar = {
410           protectedBy = "View";
411           value = ( /* the toolbar groups */
412             ( /* first group */
413               {
414                 link  = "getMail";
415                 cssClass = "tbicon_getmail"; label = "Get Mail";
416               },
417               {
418                 link     = "#"; // "compose"; // target = "_blank";
419                 onclick  = "clickedNewFilter(this); return false";
420                 cssClass = "tbicon_compose"; label = "New Filter";
421               },
422             ),
423             ( /* second group
424               { link = "#"; 
425                 cssClass = "tbicon_delete"; label = "Delete"; },*/
426             ),
427           );
428         };
429       };
430       methods = {
431         view = {
432           protectedBy = "View";
433           pageName    = "UIxFilterList"; 
434         };
435         "tb.view" = { /* primary entry for mailer actions */
436           protectedBy = "View";
437           pageName    = "UIxFilterList"; 
438         };
439         create = {
440           protectedBy = "View";
441           pageName    = "UIxFilterList"; 
442           actionName  = "create";
443         };
444       };
445     };
446
447     SOGoSieveScriptObject = {
448       slots = {
449         toolbar = {
450           protectedBy = "View";
451           value = ( /* the toolbar groups */
452             ( /* first group */
453               { link  = "#"; 
454                 onclick  = "clickedEditorSave(this);return false;";
455                 cssClass = "tbicon_save"; label = "Save"; },
456               { link = "#"; 
457                 onclick  = "clickedEditorDelete(this);return false;";
458                 cssClass = "tbicon_delete"; label = "Delete"; },
459             )
460           );
461         };
462       };
463       methods = {
464         edit = {
465           protectedBy = "View";
466           pageName    = "UIxSieveEditor"; 
467           actionName  = "edit";
468         };
469         save = {
470           protectedBy = "View";
471           pageName    = "UIxSieveEditor"; 
472           actionName  = "save";
473         };
474         delete = {
475           protectedBy = "View";
476           pageName    = "UIxSieveEditor"; 
477           actionName  = "delete";
478         };
479       };
480     };
481   };
482 }