uidesigner/com.nokia.sdt.component.symbian.test/data/srcmapping/components/CBAHolder.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 component reference to find CBA --> |
|
12 |
|
13 <component qualifiedName="com.nokia.sdt.series60.test.CBAHolder" |
|
14 category="Basic" |
|
15 version="0.1"> |
|
16 |
|
17 <properties> |
|
18 <property name="name" type="uniqueName"/> |
|
19 <componentReferenceProperty scope="model" name="theCBA"/> |
|
20 </properties> |
|
21 |
|
22 <sourceMapping> |
|
23 <mapResource struct="EIK_APP_INFO" headers="cba.rh"> |
|
24 <select property="theCBA->CBA"> |
|
25 <choice value="com.nokia.sdt.series60.test.CBA.Type.CUSTOM"> |
|
26 <!-- emit a reference to the resource generated --> |
|
27 <mapReferenceMember property="theCBA" member="cba"/> |
|
28 </choice> |
|
29 <choice> |
|
30 <!-- else, emit the builtin --> |
|
31 <mapIdentifierMember property="theCBA->CBA" member="cba" /> |
|
32 </choice> |
|
33 </select> |
|
34 </mapResource> |
|
35 </sourceMapping> |
|
36 |
|
37 </component> |
|
38 </componentDefinition> |