uidesigner/com.nokia.sdt.component.symbian.test/data/srcmapping/components/srcmapArraysPartial.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 
       
    14 	<component baseComponent="com.nokia.examples.baseComponent"
       
    15 	friendlyName="Source Mapping Test" 
       
    16 	qualifiedName="com.nokia.examples.srcmapArraysPartial" 
       
    17 	category="Testing" version="1.0">
       
    18 		<sourceMapping>
       
    19 			<mapResource struct="ARRAY_TYPES_DEFAULTS" headers="arrayheader.rh">
       
    20 				<!-- map non-zero values not supported yet
       
    21 					<mapArrayMember property="intAndFlagArray" member="ints">
       
    22 					   <select property="value">
       
    23 					      <choice value="0" />
       
    24 					      <choice>
       
    25 					         <mapInstanceElement />
       
    26 					      </choice>
       
    27 					   </select>
       
    28 					</mapArrayMember>			
       
    29 				-->
       
    30 				
       
    31 				<!-- map children with the given attribute -->
       
    32 				<mapArrayMember property="." member="structs">
       
    33 				   <select attribute="is-emitted">
       
    34 				      <choice value="true">
       
    35 				         <mapInstanceElement />
       
    36 				      </choice>
       
    37 				      <choice />
       
    38 				   </select>
       
    39 				</mapArrayMember>
       
    40 			</mapResource>
       
    41 			
       
    42 		</sourceMapping>
       
    43 		
       
    44 		<properties>
       
    45 			<!--
       
    46 			<arrayProperty name="intAndFlagArray" type="com.nokia.test.intAndFlagArray" />
       
    47 			-->
       
    48 		</properties>
       
    49 	</component>
       
    50 </componentDefinition>