]> err.no Git - scalable-opengroupware.org/blob - UI/MailerUI/product.plist
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1068 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / MailerUI / product.plist
1 { /* -*-javascript-*- */
2   requires = ( MAIN, MainUI, 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 = "SOGoMailObject.toolbar";
85         };
86       };
87       methods = {
88         view = {
89           protectedBy = "View";
90           pageName    = "UIxMailListView";
91         };
92         ajax = {
93           protectedBy = "View";
94           pageName    = "UIxMailAjaxRequest";
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         markMessageUnread = {
105           protectedBy = "View";
106           pageName    = "UIxMailListView";
107           actionName  = "markMessageUnread";
108         };
109         markMessageRead = {
110           protectedBy = "View";
111           pageName    = "UIxMailListView";
112           actionName  = "markMessageRead";
113         };
114         getMail = {
115           protectedBy = "View";
116           pageName    = "UIxMailListView";
117           actionName  = "getMail";
118         };
119         expunge = {
120           protectedBy = "View";
121           pageName    = "UIxMailListView";
122           actionName  = "expunge";
123         };
124         createFolder = {
125           protectedBy = "View";
126           pageName    = "UIxMailListView";
127           actionName  = "createFolder";
128         };
129         deleteFolder = {
130           protectedBy = "View";
131           pageName    = "UIxMailListView";
132           actionName  = "deleteFolder";
133         };
134         compose = {
135           protectedBy = "View";
136           actionClass = "UIxMailEditorAction";
137           actionName  = "compose";
138         };
139         userRights = {
140            protectedBy = "ReadAcls";
141            pageName    = "UIxMailUserRightsEditor";
142         };
143         saveUserRights = {
144            protectedBy = "SaveAcls";
145            pageName    = "UIxMailUserRightsEditor";
146            actionName  = "saveUserRights";
147         };
148       };
149     };
150
151     SOGoTrashFolder = {
152       /* just a new toolbar, other things come from SOGoMailFolder */
153       slots = {
154         toolbar = {
155           protectedBy = "View";
156           value = "SOGoMailObject.toolbar";
157         };
158       };
159       methods = {
160         emptyTrash = {
161           protectedBy = "View";
162           pageName    = "UIxMailListView";
163           actionName  = "emptyTrash";
164         };
165       };
166     };
167
168     SOGoMailObject = {
169       slots = {
170         toolbar = {
171           protectedBy = "View";
172           value = "SOGoMailObject.toolbar";
173         };
174       };
175       methods = {
176         view = {
177           protectedBy = "View";
178           pageName    = "UIxMailView";
179         };
180         popupview = {
181           protectedBy = "View";
182           pageName    = "UIxMailPopupView";
183         };
184         move = {
185           protectedBy = "View";
186           pageName    = "UIxMailView";
187           actionName  = "move";
188         };
189         delete = {
190           protectedBy = "View";
191           pageName    = "UIxMailView";
192           actionName  = "delete";
193         };
194         trash = {
195           protectedBy = "View";
196           pageName    = "UIxMailView";
197           actionName  = "trash";
198         };
199         junk = {
200           protectedBy = "View";
201           pageName    = "UIxMailView";
202           actionName  = "junk";
203         };
204         edit = {
205           protectedBy = "View";
206           pageName    = "UIxMailEditor";
207         };
208         compose = {
209           protectedBy = "View";
210           actionClass = "UIxMailEditorAction";
211           actionName  = "compose";
212         };
213         reply = {
214           protectedBy = "View";
215           actionClass = "UIxMailReplyAction";
216           actionName  = "reply";
217         };
218         replyall = {
219           protectedBy = "View";
220           actionClass = "UIxMailReplyAction";
221           actionName  = "replyall";
222         };
223         forward = {
224           protectedBy = "View";
225           actionClass = "UIxMailForwardAction";
226           actionName  = "forward";
227         };
228       };
229     };
230
231     SOGoMailAccounts = {
232       slots = {
233         toolbar = {
234           protectedBy = "View";
235           value = "SOGoMailObject.toolbar";
236         };
237       };
238       methods = {
239         view = {
240           protectedBy = "View";
241           pageName    = "UIxMailMainFrame";
242         };
243         compose = {
244           protectedBy = "View";
245           pageName    = "UIxMailMainFrame";
246           actionName  = "compose";
247         };
248         getMail = {
249           protectedBy = "View";
250           pageName    = "UIxMailAccountsView";
251         };
252       };
253     };
254
255     SOGoMailAccount = {
256       slots = {
257         toolbar = {
258           protectedBy = "View";
259           value = "SOGoMailObject.toolbar";
260         };
261       };
262       methods = {
263         view = {
264           protectedBy = "View";
265           pageName    = "UIxMailAccountView";
266         };
267         getMail = {
268           protectedBy = "View";
269           pageName    = "UIxMailAccountView";
270         };
271         compose = {
272           protectedBy = "View";
273           actionClass = "UIxMailEditorAction";
274           actionName  = "compose";
275         };
276         createFolder = {
277           protectedBy = "View";
278           pageName    = "UIxMailAccountView";
279           actionName  = "createFolder";
280         };
281       };
282     };
283
284     SOGoDraftsFolder = {
285       slots = {
286         toolbar = {
287           protectedBy = "View";
288           value = ( /* the toolbar groups */
289             ( /* first group */
290               { link  = "getMail";
291                 image = "tb-mail-getmail-flat-24x24.png";
292                 cssClass = "tbicon_getmail"; label = "Get Mail"; },
293               {
294                link     = "#"; // "compose"; // target = "_blank";
295                isSafe = NO;
296                onclick  = "return openMessageWindow(null, 'compose');";
297                image = "tb-mail-write-flat-24x24.png";
298                cssClass = "tbicon_compose"; label = "Write"; },
299             )
300           );
301         };
302       };
303       methods = {
304         view = {
305           protectedBy = "View";
306           pageName    = "UIxMailListView";
307         };
308         getMail = {
309           protectedBy = "View";
310           pageName    = "UIxMailListView";
311         };
312         compose = {
313           protectedBy = "View";
314           actionClass = "UIxMailEditorAction";
315           actionName  = "compose";
316         };
317       };
318     };
319
320     SOGoDraftObject = {
321       slots = {
322         toolbar = {
323           protectedBy = "View";
324           value       = "SOGoDraftObject.toolbar";
325         };
326       };
327       methods = {
328         view = { /* somewhat hackish */
329           protectedBy = "View";
330           pageName    = "UIxMailEditor";
331         };
332         edit = {
333           protectedBy = "View";
334           pageName    = "UIxMailEditor";
335           actionName  = "edit";
336         };
337         save = {
338           protectedBy = "View";
339           pageName    = "UIxMailEditor";
340           actionName  = "save";
341         };
342         delete = {
343           protectedBy = "View";
344           pageName    = "UIxMailEditor";
345           actionName  = "delete";
346         };
347
348         viewAttachments = {
349           protectedBy = "View";
350           pageName    = "UIxMailEditorAttach";
351           actionName  = "viewAttachments";
352         };
353         attach = {
354           protectedBy = "View";
355           pageName    = "UIxMailEditorAttach";
356           actionName  = "attach";
357         };
358         deleteAttachment = {
359           protectedBy = "View";
360           pageName    = "UIxMailEditorAttach";
361           actionName  = "deleteAttachment";
362         };
363         send = {
364           protectedBy = "View";
365           pageName    = "UIxMailEditor";
366           actionName  = "send";
367         };
368       };
369     };
370
371     /* Sieve */
372
373 /*    SOGoSieveScriptsFolder = {
374       slots = {
375         toolbar = {
376           protectedBy = "View";
377           value = (
378             (
379               {
380                link  = "getMail";
381                image = "tb-mail-getmail-flat-24x24.png";
382                cssClass = "tbicon_getmail"; label = "Get Mail";
383               },
384               {
385                link     = "#"; // "compose"; // target = "_blank";
386                onclick  = "clickedNewFilter(this); return false";
387                image = "tb-mail-write-flat-24x24.png";
388                cssClass = "tbicon_compose"; label = "New Filter";
389               },
390             ),
391             (
392               { link = "#";
393                 cssClass = "tbicon_delete"; label = "Delete"; },
394             ),
395           );
396         };
397       };
398       methods = {
399         view = {
400           protectedBy = "View";
401           pageName    = "UIxFilterList";
402         };
403         create = {
404           protectedBy = "View";
405           pageName    = "UIxFilterList";
406           actionName  = "create";
407         };
408       };
409     };
410
411     SOGoSieveScriptObject = {
412       slots = {
413         toolbar = {
414           protectedBy = "View";
415           value = (
416             ( { link  = "#";
417                 onclick  = "clickedEditorSave(this);return false;";
418                 image = "tb-mail-file-flat-24x24.png";
419                 cssClass = "tbicon_save"; label = "Save"; },
420               { link = "#";
421                 onclick  = "clickedEditorDelete(this);return false;";
422                 image = "tb-mail-delete-flat-24x24.png";
423                 cssClass = "tbicon_delete"; label = "Delete"; },
424             )
425           );
426         };
427       };
428       methods = {
429         edit = {
430           protectedBy = "View";
431           pageName    = "UIxSieveEditor";
432           actionName  = "edit";
433         };
434         save = {
435           protectedBy = "View";
436           pageName    = "UIxSieveEditor";
437           actionName  = "save";
438         };
439         delete = {
440           protectedBy = "View";
441           pageName    = "UIxSieveEditor";
442           actionName  = "delete";
443         };
444       };
445     }; */
446   };
447 }