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