|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!DOCTYPE componentDefinition [ |
|
3 <!ENTITY common_srcgen SYSTEM "CAknAppUi_common.inc"> |
|
4 <!ENTITY common_srcmapping SYSTEM "CAknAppUi_common_srcmapping.inc"> |
|
5 <!ENTITY common_events SYSTEM "CAknAppUi_events.inc"> |
|
6 ]> |
|
7 <!-- Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). --> |
|
8 <!-- All rights reserved. --> |
|
9 <!-- This component and the accompanying materials are made available --> |
|
10 <!-- under the terms of the License "Eclipse Public License v1.0" --> |
|
11 <!-- which accompanies this distribution, and is available --> |
|
12 <!-- at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
13 |
|
14 <componentDefinition xmlns="http://www.nokia.com/sdt/emf/component" |
|
15 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
16 |
|
17 <component baseComponent="com.nokia.sdt.series60.CAknAppUiBase" |
|
18 qualifiedName="com.nokia.sdt.series60.CAknAppUi" |
|
19 friendlyName="Avkon Application UI" |
|
20 instanceNameRoot="appUi" |
|
21 version="1.0"> |
|
22 <documentation> |
|
23 <information>The Series 60 top-level Avkon view application UI class. |
|
24 This is a non-visual class which holds a reference to |
|
25 a visual component (such as CAknDialog or CCoeControl).</information> |
|
26 </documentation> |
|
27 <symbian sdkName="com.nokia.series60" |
|
28 minSDKVersion="3.0" |
|
29 className="CAknAppUi"/> |
|
30 |
|
31 <extensionProperties name="default"> |
|
32 <property category="Appearance" name="enableMSK" type="boolean" |
|
33 descriptionKey="enableMSKDescription" default="true" /> |
|
34 </extensionProperties> |
|
35 |
|
36 <properties> |
|
37 <enumProperty category="Appearance" name="orientation" |
|
38 type="com.nokia.sdt.series60.CAknAppUi.Orientation" |
|
39 descriptionKey="orientationDescription" /> |
|
40 </properties> |
|
41 |
|
42 <implementations> |
|
43 <implementation> |
|
44 <interface id="com.nokia.sdt.datamodel.adapter.IPropertyExtenders"/> |
|
45 <script file="CAknAppUI_PropertyExtender_3.0.js" prototype="CAknAppUIpropertyExtender"/> |
|
46 </implementation> |
|
47 </implementations> |
|
48 |
|
49 <events> |
|
50 &common_events; |
|
51 </events> |
|
52 |
|
53 <designerImages smallIconFile="CAknAppUi_sm.png" |
|
54 largeIconFile="CAknAppUi.png"/> |
|
55 |
|
56 <sourceMapping> |
|
57 &common_srcmapping; |
|
58 |
|
59 <!-- this reads the data from the context icon and title pane |
|
60 components in the status pane --> |
|
61 <mapResource struct="LOCALISABLE_APP_INFO" headers="appinfo.rh" baseName="r_localisable_app_info" |
|
62 id="localisable_app_info"> |
|
63 |
|
64 <mapSimpleMember property="[com.nokia.sdt.series60.StatusPane][com.nokia.sdt.series60.StatusPaneCaption].shortCaption" member="short_caption"/> |
|
65 <mapResourceMember property="." member="caption_and_icon" |
|
66 struct="CAPTION_AND_ICON_INFO"> |
|
67 <mapSimpleMember property="[com.nokia.sdt.series60.StatusPane][com.nokia.sdt.series60.StatusPaneCaption].longCaption" member="caption"/> |
|
68 <select property="[com.nokia.sdt.series60.StatusPane][com.nokia.sdt.series60.StatusPaneContextAppIcon].image.bmpfile"> |
|
69 <choice value=""> |
|
70 <!-- either no icon or no image set --> |
|
71 <mapFixedMember member="number_of_icons" value="0" /> |
|
72 </choice> |
|
73 <choice> |
|
74 <mapFixedMember member="number_of_icons" value="1" /> |
|
75 <mapSimpleMember property="[com.nokia.sdt.series60.StatusPane][com.nokia.sdt.series60.StatusPaneContextAppIcon].image.bmpfile" member="icon_file" /> |
|
76 </choice> |
|
77 </select> |
|
78 </mapResourceMember> |
|
79 </mapResource> |
|
80 |
|
81 </sourceMapping> |
|
82 |
|
83 <sourceGen> |
|
84 &common_srcgen; |
|
85 </sourceGen> |
|
86 </component> |
|
87 </componentDefinition> |