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