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