|
1 /* |
|
2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * This file contains all the resources for Phonebook 2 names list view. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // --------------------------------------------------------- |
|
21 // Names List View's lauch CCA menu pane |
|
22 // --------------------------------------------------------- |
|
23 // |
|
24 RESOURCE MENU_PANE r_phonebook2_open_cca |
|
25 { |
|
26 items= |
|
27 { |
|
28 MENU_ITEM |
|
29 { |
|
30 command = EPbk2CmdOpenCca; |
|
31 txt = qtn_phob_opt_entry_open_views; |
|
32 flags = EEikMenuItemAction; |
|
33 } |
|
34 }; |
|
35 } |
|
36 |
|
37 // --------------------------------------------------------- |
|
38 // Names List View's options command for selecting "Add favourites" |
|
39 // --------------------------------------------------------- |
|
40 // |
|
41 RESOURCE MENU_PANE r_phonebook2_select_addfavorites |
|
42 { |
|
43 items= |
|
44 { |
|
45 MENU_ITEM |
|
46 { |
|
47 command = EPbk2CmdAddFavourites; |
|
48 txt = qtn_phob_opt_entry_select_addfavourites; |
|
49 flags = EEikMenuItemAction; |
|
50 } |
|
51 }; |
|
52 } |
|
53 |
|
54 // --------------------------------------------------------- |
|
55 // Names List View's options command for selecting "MyCard" |
|
56 // --------------------------------------------------------- |
|
57 // |
|
58 RESOURCE MENU_PANE r_phonebook2_select_mycard |
|
59 { |
|
60 items= |
|
61 { |
|
62 MENU_ITEM |
|
63 { |
|
64 command = EPbk2CmdSelectMyCard; |
|
65 txt = qtn_phob_opt_entry_select_promotion; |
|
66 flags = EEikMenuItemAction; |
|
67 }, |
|
68 MENU_ITEM |
|
69 { |
|
70 command = EPbk2CmdOpenMyCard; |
|
71 txt = qtn_phob_opt_entry_open_views; |
|
72 flags = EEikMenuItemAction; |
|
73 } |
|
74 }; |
|
75 } |
|
76 |
|
77 // --------------------------------------------------------- |
|
78 // Names List View's add to top contacts selection |
|
79 // --------------------------------------------------------- |
|
80 // |
|
81 RESOURCE MENU_PANE r_phonebook2_add_to_topcontacts |
|
82 { |
|
83 items= |
|
84 { |
|
85 MENU_ITEM |
|
86 { |
|
87 command = EPbk2CmdAddToTopContacts; |
|
88 txt = qtn_phob_opt_add_favourites; |
|
89 flags = EEikMenuItemSpecific; |
|
90 } |
|
91 }; |
|
92 } |
|
93 |
|
94 // --------------------------------------------------------- |
|
95 // Names List View's remove from top contacts selection |
|
96 // --------------------------------------------------------- |
|
97 // |
|
98 RESOURCE MENU_PANE r_phonebook2_remove_from_topcontacts |
|
99 { |
|
100 items= |
|
101 { |
|
102 MENU_ITEM |
|
103 { |
|
104 command = EPbk2CmdRemoveFromTopContacts; |
|
105 txt = qtn_phob_opt_drop_from_favourites; |
|
106 flags = EEikMenuItemSpecific; |
|
107 } |
|
108 }; |
|
109 } |
|
110 |
|
111 // --------------------------------------------------------- |
|
112 // Names List View's merge contacts |
|
113 // --------------------------------------------------------- |
|
114 // |
|
115 |
|
116 RESOURCE MENU_PANE r_phonebook2_merge_contacts |
|
117 { |
|
118 items= |
|
119 { |
|
120 MENU_ITEM |
|
121 { |
|
122 command = EPbk2CmdMergeContacts; |
|
123 txt = qtn_options_list_merge; |
|
124 } |
|
125 }; |
|
126 } |
|
127 |
|
128 |
|
129 // --------------------------------------------------------- |
|
130 // Names List View's main menu pane for xSPExtensionManager |
|
131 // Empty, used by xSP plugins to add their own menu items to |
|
132 // names list Optiosn menu. |
|
133 // --------------------------------------------------------- |
|
134 // |
|
135 RESOURCE MENU_PANE r_phonebook2_nameslist_main_menu |
|
136 { |
|
137 } |
|
138 |
|
139 // --------------------------------------------------------- |
|
140 // Names List View's create new contact menu pane |
|
141 // --------------------------------------------------------- |
|
142 // |
|
143 RESOURCE MENU_PANE r_phonebook2_nameslist_create_menu |
|
144 { |
|
145 items= |
|
146 { |
|
147 MENU_ITEM |
|
148 { |
|
149 command = EPbk2CmdCreateNew; |
|
150 txt = qtn_phob_opt_entry_create; |
|
151 } |
|
152 }; |
|
153 } |
|
154 |
|
155 #if 0 |
|
156 // --------------------------------------------------------- |
|
157 // Names List View's edit contact menu pane |
|
158 // --------------------------------------------------------- |
|
159 // |
|
160 RESOURCE MENU_PANE r_phonebook2_nameslist_edit_menu |
|
161 { |
|
162 items= |
|
163 { |
|
164 MENU_ITEM |
|
165 { |
|
166 command = EPbk2CmdEditMe; |
|
167 txt = qtn_phob_opt_entry_edit; |
|
168 } |
|
169 }; |
|
170 } |
|
171 #endif |
|
172 |
|
173 // --------------------------------------------------------- |
|
174 // Names List View's delete contact menu pane |
|
175 // --------------------------------------------------------- |
|
176 // |
|
177 RESOURCE MENU_PANE r_phonebook2_nameslist_delete_menu |
|
178 { |
|
179 items= |
|
180 { |
|
181 MENU_ITEM |
|
182 { |
|
183 command = EPbk2CmdDeleteMe; |
|
184 txt = qtn_phob_opt_entry_delete; |
|
185 flags = EEikMenuItemSpecific; |
|
186 } |
|
187 }; |
|
188 } |
|
189 |
|
190 // --------------------------------------------------------- |
|
191 // Names List View's copy menu pane |
|
192 // --------------------------------------------------------- |
|
193 // |
|
194 RESOURCE MENU_PANE r_phonebook2_nameslist_copy_menu |
|
195 { |
|
196 items= |
|
197 { |
|
198 // Copy command |
|
199 MENU_ITEM |
|
200 { |
|
201 command = EPbk2CmdCopy; |
|
202 txt = qtn_phob_opt_copy; |
|
203 } |
|
204 }; |
|
205 } |
|
206 |
|
207 // --------------------------------------------------------- |
|
208 // Names List View's remote contact lookup menu pane |
|
209 // --------------------------------------------------------- |
|
210 // |
|
211 RESOURCE MENU_PANE r_phonebook2_rcl_menu |
|
212 { |
|
213 items= |
|
214 { |
|
215 MENU_ITEM |
|
216 { |
|
217 command = EPbk2CmdRcl; |
|
218 txt = qtn_phob_opt_search_from_remote; |
|
219 } |
|
220 }; |
|
221 } |
|
222 |
|
223 // --------------------------------------------------------- |
|
224 // Names List View's options select option for command item "Search from remote". |
|
225 // --------------------------------------------------------- |
|
226 // |
|
227 RESOURCE MENU_PANE r_phonebook2_select_rcl |
|
228 { |
|
229 items= |
|
230 { |
|
231 MENU_ITEM |
|
232 { |
|
233 command = EPbk2CmdSelectRclCmdItem; |
|
234 txt = qtn_phob_opt_entry_select_rcl; |
|
235 } |
|
236 }; |
|
237 } |
|
238 |
|
239 // --------------------------------------------------------- |
|
240 // Names List View's copy menu pane for context menu |
|
241 // --------------------------------------------------------- |
|
242 // |
|
243 RESOURCE MENU_PANE r_phonebook2_nameslist_copy_context_menu |
|
244 { |
|
245 items= |
|
246 { |
|
247 MENU_ITEM |
|
248 { |
|
249 command = EPbk2CmdCopy; |
|
250 txt = qtn_phob_opt_copy; |
|
251 } |
|
252 }; |
|
253 } |
|
254 |
|
255 |
|
256 // --------------------------------------------------------- |
|
257 // Names List View's send and go to URL menu pane |
|
258 // --------------------------------------------------------- |
|
259 // |
|
260 RESOURCE MENU_PANE r_phonebook2_nameslist_send_url_menu |
|
261 { |
|
262 items = |
|
263 { |
|
264 MENU_ITEM |
|
265 { |
|
266 command = EPbk2CmdGoToURL; |
|
267 txt = qtn_find_go_to_url; |
|
268 flags = EEikMenuItemSpecific; |
|
269 }, |
|
270 MENU_ITEM |
|
271 { |
|
272 command = EPbk2CmdSend; |
|
273 txt = qtn_bcard_opt_send_entry_via; |
|
274 flags = EEikMenuItemSpecific; |
|
275 } |
|
276 }; |
|
277 } |
|
278 |
|
279 // --------------------------------------------------------- |
|
280 // Names List View's context sensitive menu pane |
|
281 // --------------------------------------------------------- |
|
282 // |
|
283 RESOURCE MENU_PANE r_phonebook2_nameslist_context_menu |
|
284 { |
|
285 items= |
|
286 { |
|
287 MENU_ITEM |
|
288 { |
|
289 command = EPbk2CmdCreateNew; |
|
290 txt = qtn_phob_opt_entry_create; |
|
291 } |
|
292 }; |
|
293 } |
|
294 |
|
295 // --------------------------------------------------------- |
|
296 // Names List View's Context sensitive menu pane |
|
297 // when items are marked |
|
298 // --------------------------------------------------------- |
|
299 // |
|
300 RESOURCE MENU_PANE r_phonebook2_nameslist_context_menu_marked_items |
|
301 { |
|
302 items= |
|
303 { |
|
304 MENU_ITEM |
|
305 { |
|
306 command = EPbk2CmdDeleteMe; |
|
307 txt = qtn_phob_opt_entry_delete; |
|
308 } |
|
309 }; |
|
310 } |
|
311 |
|
312 // --------------------------------------------------------- |
|
313 // Names List View's placeholder for menus that launch |
|
314 // views from other memories |
|
315 // --------------------------------------------------------- |
|
316 // |
|
317 RESOURCE MENU_PANE r_phonebook2_nameslist_other_memories_menu_placeholder |
|
318 { |
|
319 items= |
|
320 { |
|
321 MENU_ITEM |
|
322 { |
|
323 // A command id that UI extensions can use as a previous command |
|
324 // when they add items to this menu pane |
|
325 command = EPbk2CmdOtherMemoriesPlaceholderFirst; |
|
326 txt = ""; |
|
327 flags = EEikMenuItemDimmed; |
|
328 } |
|
329 }; |
|
330 } |
|
331 |
|
332 // --------------------------------------------------------- |
|
333 // Names List View's placeholder for backup functionality |
|
334 // --------------------------------------------------------- |
|
335 // |
|
336 RESOURCE MENU_PANE r_phonebook2_nameslist_backup_menu_placeholder |
|
337 { |
|
338 items= |
|
339 { |
|
340 MENU_ITEM |
|
341 { |
|
342 // A command id that UI extensions can use as a previous command |
|
343 // when they add items to this menu pane |
|
344 command = EPbk2CmdBackupPlaceholderFirst; |
|
345 txt = ""; |
|
346 flags = EEikMenuItemDimmed; |
|
347 } |
|
348 }; |
|
349 } |
|
350 |
|
351 // --------------------------------------------------------- |
|
352 // Names List View's dummy context sensitive menu pane for extensions |
|
353 // --------------------------------------------------------- |
|
354 // |
|
355 RESOURCE MENU_PANE r_phonebook2_context_menu_pane_for_extensions |
|
356 { |
|
357 items= |
|
358 { |
|
359 // Intentionally left blank, needed by extensions |
|
360 }; |
|
361 } |
|
362 |
|
363 /// |
|
364 // --------------------------------------------------------- |
|
365 // Names List View's contact specific menu item for call |
|
366 // --------------------------------------------------------- |
|
367 // |
|
368 RESOURCE MENU_PANE r_phonebook2_namelist_call_contact_menu |
|
369 { |
|
370 items= |
|
371 { |
|
372 MENU_ITEM |
|
373 { |
|
374 command = EPbk2CmdCall; |
|
375 txt = qtn_phob_opt_call; |
|
376 flags = EEikMenuItemSpecific; |
|
377 } |
|
378 }; |
|
379 } |
|
380 |
|
381 // --------------------------------------------------------- |
|
382 // Names List View's contact specific menu item for send message |
|
383 // --------------------------------------------------------- |
|
384 // |
|
385 RESOURCE MENU_PANE r_phonebook2_namelist_create_message_menu |
|
386 { |
|
387 items= |
|
388 { |
|
389 MENU_ITEM |
|
390 { |
|
391 command = EPbk2CmdWriteNoQuery; |
|
392 txt = qtn_phob_opt_send_message; |
|
393 flags = EEikMenuItemSpecific; |
|
394 } |
|
395 }; |
|
396 } |
|
397 |
|
398 // --------------------------------------------------------- |
|
399 // Send as business card menu pane |
|
400 // --------------------------------------------------------- |
|
401 // |
|
402 RESOURCE MENU_PANE r_phonebook2_bcard_send_menu |
|
403 { |
|
404 items= |
|
405 { |
|
406 MENU_ITEM |
|
407 { |
|
408 command = EPbk2CmdSend; |
|
409 txt = qtn_bcard_opt_send_entry_via; |
|
410 flags = EEikMenuItemSpecific; |
|
411 } |
|
412 }; |
|
413 } |
|
414 |
|
415 // --------------------------------------------------------- |
|
416 // Mark/unmark menu to be used in CS menus (no submenu) |
|
417 // --------------------------------------------------------- |
|
418 // |
|
419 RESOURCE MENU_PANE r_phonebook2_markable_list_context_menu |
|
420 { |
|
421 items= |
|
422 { |
|
423 MENU_ITEM |
|
424 { |
|
425 command = EAknCmdMark; |
|
426 txt = qtn_options_list_mark_one; |
|
427 }, |
|
428 MENU_ITEM |
|
429 { |
|
430 command = EAknCmdUnmark; |
|
431 txt = qtn_options_list_unmark_one; |
|
432 } |
|
433 }; |
|
434 } |
|
435 // End of File |