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