|
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 <enumPropertyDeclaration qualifiedName="com.nokia.sdt.series60.test.srcmapArrayEnd.Type"> |
|
12 <enumElement value="EElement1__"/> |
|
13 <enumElement value="EElement1_1"/> |
|
14 <enumElement value="EElement11_"/> |
|
15 <enumElement value="EElement_11"/> |
|
16 <enumElement value="EElement__1"/> |
|
17 <enumElement value="EElement111"/> |
|
18 </enumPropertyDeclaration> |
|
19 |
|
20 |
|
21 <component qualifiedName="com.nokia.examples.srcmapTestMapArrayEnd" > |
|
22 |
|
23 <properties> |
|
24 <property name="name" type="uniqueName"/> |
|
25 <enumProperty name="type" type="com.nokia.sdt.series60.test.srcmapArrayEnd.Type" /> |
|
26 </properties> |
|
27 |
|
28 <implementations> |
|
29 <implementation> |
|
30 <interface id="com.nokia.sdt.datamodel.adapter.IPropertyExtenders"/> |
|
31 <script file="srcmapArrayEnd.js" prototype="PropertyExtenders"/> |
|
32 </implementation> |
|
33 </implementations> |
|
34 |
|
35 |
|
36 <sourceMapping> |
|
37 <mapResource struct="ARRAY_EMBEDDED" headers="arrayheader.rh"> |
|
38 <select propertyExists="element1"> |
|
39 <choice value="true"> |
|
40 <mapResourceMember property="." member="items[]" |
|
41 struct="LBUF" headers="arrayheader.rh" |
|
42 id="element1"> |
|
43 <mapSimpleMember property="element1" member="txt"/> |
|
44 </mapResourceMember> |
|
45 </choice> |
|
46 <choice/> |
|
47 </select> |
|
48 <select propertyExists="element2"> |
|
49 <choice value="true"> |
|
50 <mapResourceMember property="." member="items[]" |
|
51 struct="LBUF" headers="arrayheader.rh" |
|
52 id="element2"> |
|
53 <mapSimpleMember property="element2" member="txt"/> |
|
54 </mapResourceMember> |
|
55 </choice> |
|
56 <choice/> |
|
57 </select> |
|
58 <select propertyExists="element3"> |
|
59 <choice value="true"> |
|
60 <mapResourceMember property="." member="items[]" |
|
61 struct="LBUF" headers="arrayheader.rh" |
|
62 id="element3"> |
|
63 <mapSimpleMember property="element3" member="txt"/> |
|
64 </mapResourceMember> |
|
65 </choice> |
|
66 <choice/> |
|
67 </select> |
|
68 </mapResource> |
|
69 </sourceMapping> |
|
70 </component> |
|
71 </componentDefinition> |