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