uidesigner/com.nokia.sdt.component.symbian.test/data/srcmapping/components/srcmapChoices.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: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 	<component baseComponent="com.nokia.examples.baseComponent"
       
    14 	friendlyName="Source Mapping Test" qualifiedName="com.nokia.examples.srcmapChoices" 
       
    15 	category="Testing" version="1.0">
       
    16 		<sourceMapping>
       
    17 			<select property="emitCount">
       
    18 				<choice value="true">
       
    19 					<mapResource struct="COUNT_STRUCT" headers="basicheader.rh" id="1">
       
    20 						<mapSimpleMember property="count" member="count" />
       
    21 					</mapResource>
       
    22 				</choice>
       
    23 				<choice value="false">
       
    24 					<mapResource struct="TEXT_STRUCT" headers="basicheader.rh" id="2">
       
    25 						<mapSimpleMember property="text" member="text" />
       
    26 					</mapResource>
       
    27 				</choice>
       
    28 			</select>
       
    29 		</sourceMapping>
       
    30 		
       
    31 		<properties>
       
    32 			<property name="emitCount" type="boolean"/>
       
    33 			<property name="text" type="string"/>
       
    34 			<property name="count" type="integer"/>
       
    35 		</properties>
       
    36 	</component>
       
    37 </componentDefinition>