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