uidesigner/com.nokia.sdt.component.symbian.test/data/srcmapping/components/CBAHolder2.component
equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- Copyright (c) 2009 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 the License "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 <componentDefinition xmlns="http://www.nokia.com/sdt/emf/component" |
|
9 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
10 |
|
11 <!-- testing version, using "child of type" path to find CBA --> |
|
12 |
|
13 <component qualifiedName="com.nokia.sdt.series60.test.CBAHolder2" |
|
14 category="Basic" |
|
15 version="0.1"> |
|
16 |
|
17 <properties> |
|
18 <property name="name" type="uniqueName"/> |
|
19 </properties> |
|
20 |
|
21 <sourceMapping> |
|
22 <mapResource struct="EIK_APP_INFO" headers="cba.rh"> |
|
23 <select property="[com.nokia.sdt.series60.test.CBA].CBA"> |
|
24 <choice value="com.nokia.sdt.series60.test.CBA.Type.CUSTOM"> |
|
25 <!-- emit a reference to the resource generated --> |
|
26 <mapReferenceMember property="[com.nokia.sdt.series60.test.CBA]" member="cba"/> |
|
27 </choice> |
|
28 <choice> |
|
29 <!-- else, emit the builtin --> |
|
30 <mapIdentifierMember property="[com.nokia.sdt.series60.test.CBA].CBA" member="cba" /> |
|
31 </choice> |
|
32 </select> |
|
33 </mapResource> |
|
34 </sourceMapping> |
|
35 |
|
36 </component> |
|
37 </componentDefinition> |