|
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:ecore="http://www.eclipse.org/emf/2002/Ecore" |
|
10 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
11 xsi:schemaLocation="http://www.nokia.com/sdt/emf/component |
|
12 C:\Users\NOKIAI~1\RADPLA~1\design\component.xsd"> |
|
13 |
|
14 <component baseComponent="com.nokia.examples.baseComponent" |
|
15 friendlyName="Source Mapping Test" |
|
16 qualifiedName="com.nokia.examples.srcmapRsrcIdsExplicit" |
|
17 category="Testing" version="1.0"> |
|
18 <sourceMapping> |
|
19 <!-- this isn't sensible or legal, just used to id assignment --> |
|
20 <mapResource struct="STRING_LIST" headers="arrayheader.rh" id="foo"> |
|
21 <mapResourceMember struct="LBUF" property="name" member="txt" id="bar"/> |
|
22 <mapArrayMember property="stringArray" member="strings"> |
|
23 <mapResourceElement struct="LBUF" headers="arrayheader.rh" id="baz"> |
|
24 <mapSimpleMember property="." member="txt"/> |
|
25 </mapResourceElement> |
|
26 </mapArrayMember> |
|
27 </mapResource> |
|
28 </sourceMapping> |
|
29 |
|
30 <properties> |
|
31 <arrayProperty name="name" type="uniqueName" /> |
|
32 <arrayProperty name="stringArray" type="localizedString" /> |
|
33 </properties> |
|
34 </component> |
|
35 </componentDefinition> |