uidesigner/com.nokia.sdt.component.symbian.test/data/srcmapping/components/CBAHolder2.component
author timkelly
Mon, 21 Sep 2009 10:30:34 -0500
branchRCL_2_2
changeset 502 bbc19f0223db
parent 0 fb279309251b
permissions -rw-r--r--
Manually merge in changeset 501:c39dede7ad37 from default.

<?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:xsi="http://www.w3.org/2001/XMLSchema-instance">

<!-- testing version, using "child of type" path to find CBA -->

	<component qualifiedName="com.nokia.sdt.series60.test.CBAHolder2" 
		category="Basic"
		version="0.1">

		<properties>
			<property name="name" type="uniqueName"/>
		</properties>

		<sourceMapping>
  		  <mapResource struct="EIK_APP_INFO" headers="cba.rh">
 		  <select property="[com.nokia.sdt.series60.test.CBA].CBA">
		    <choice value="com.nokia.sdt.series60.test.CBA.Type.CUSTOM">
		    	<!-- emit a reference to the resource generated -->
		        <mapReferenceMember property="[com.nokia.sdt.series60.test.CBA]" member="cba"/>
		    </choice>
		    <choice>
				<!-- else, emit the builtin -->
				<mapIdentifierMember property="[com.nokia.sdt.series60.test.CBA].CBA" member="cba" />
		    </choice> 
		  </select>
		 </mapResource>
		</sourceMapping>
		
	</component>
</componentDefinition>