uidesigner/com.nokia.sdt.component.symbian.test/data/srcmapping/components/srcmapArraysMapIntoProperty.component
changeset 0 fb279309251b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uidesigner/com.nokia.sdt.component.symbian.test/data/srcmapping/components/srcmapArraysMapIntoProperty.component	Fri Apr 03 23:33:03 2009 +0100
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -->
+<!-- All rights reserved.                                              -->
+<!-- This component and the accompanying materials are made available  -->
+<!-- under the terms of the License "Eclipse Public License v1.0"      -->
+<!-- which accompanies this distribution, and is available             -->
+<!-- at the URL "http://www.eclipse.org/legal/epl-v10.html".           -->
+<componentDefinition xmlns="http://www.nokia.com/sdt/emf/component" 
+xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" 
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+xsi:schemaLocation="http://www.nokia.com/sdt/emf/component
+C:\Users\NOKIAI~1\RADPLA~1\design\component.xsd">
+
+	<component baseComponent="com.nokia.examples.baseComponent"
+	friendlyName="Source Mapping Test" 
+	qualifiedName="com.nokia.examples.srcmapArraysMapIntoProperty" 
+	category="Testing" version="1.0">
+		<sourceMapping>
+			<mapResource struct="ARRAY_TYPES_DEFAULTS" headers="arrayheader.rh">
+				<mapArrayMember property="intAndFlagArray" member="ints">
+					<mapIntoProperty property="flag">
+						<mapElementFromType />
+					</mapIntoProperty>
+				</mapArrayMember>
+			</mapResource>
+			
+			<mapResource struct="PALETTE" id="palette" headers="arrayheader.rh" >
+			
+				<mapResourceMember id="0" struct="ARRAY" property="." member="palette_colors" headers="arrayheader.rh">
+					<mapArrayMember property="palette" member="items">
+						<mapIntoProperty property="rgb">
+							<mapElementFromType/>
+						</mapIntoProperty>
+					</mapArrayMember>
+				</mapResourceMember>
+				<mapResourceMember id="1" struct="ARRAY" property="." member="palette_names" headers="arrayheader.rh">
+					<mapArrayMember property="palette" member="items">
+						<mapResourceElement struct="LBUF" headers="arrayheader.rh">
+							<mapSimpleMember property="label" member="txt"/>
+						</mapResourceElement>
+					</mapArrayMember>
+				</mapResourceMember>
+			</mapResource>
+			
+		</sourceMapping>
+		
+		<properties>
+			<arrayProperty name="intAndFlagArray" type="com.nokia.test.intAndFlagArray" />
+			<arrayProperty name="palette" type="com.nokia.test.paletteEntry" />
+		</properties>
+	</component>
+</componentDefinition>