uidesigner/com.nokia.sdt.component.symbian.test/data/srcmapping/components/srcmapArrayEndContainer.component
changeset 0 fb279309251b
equal deleted inserted replaced
-1:000000000000 0:fb279309251b
       
     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.srcmapTestMapArrayEndContainer"	>
       
    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="srcmapArrayEndContainer.js" prototype="PropertyExtenders"/>
       
    32 			</implementation>
       
    33 		</implementations>
       
    34 
       
    35 		<extensionProperties name="element1">
       
    36 			<property name="element1" type="string" />
       
    37 		</extensionProperties>
       
    38 		<extensionProperties name="element2">
       
    39 			<property name="element2" type="string" />
       
    40 		</extensionProperties>
       
    41 		<extensionProperties name="element3">
       
    42 			<property name="element3" type="string" />
       
    43 		</extensionProperties>
       
    44 		
       
    45 		<sourceMapping>
       
    46   		  <mapResource struct="ARRAY" headers="arrayheader.rh">
       
    47 			<mapArrayMember property="." member="items" />
       
    48 			</mapResource>
       
    49 		</sourceMapping>
       
    50 		
       
    51 		
       
    52 	</component>
       
    53 </componentDefinition>