uidesigner/com.nokia.sdt.symbian.tests/data/images/components/srcmapImage.component
author Deepak Modgil <Deepak.Modgil@Nokia.com>
Fri, 03 Apr 2009 23:33:03 +0100
changeset 0 fb279309251b
permissions -rw-r--r--
DP tools release version Revision: 200912

<?xml version="1.0" encoding="UTF-8"?>
<componentDefinition xmlns="http://www.nokia.com/sdt/emf/component" 
>
<!-- 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". -->

<!-- note: we have internal dependencies on the name of this property
	and of its fields -->
<compoundPropertyDeclaration 
	qualifiedName="com.nokia.sdt.symbian.imageProperty"
	converterClass="com.nokia.sdt.symbian.images.SymbianImageValueConverter">
	<property name="bmpfile" displayName="multi-image file" type="string"/>
	<property name="bmpid" displayName="image id" type="string"/>
	<property name="bmpmask" displayName="image mask id" type="string"/>
	</compoundPropertyDeclaration>
	
	<component
	friendlyName="Source Mapping Test" 
	qualifiedName="com.nokia.examples.srcmapImage" 
	category="Testing" version="1.0">
		<sourceMapping>
			<mapResource struct="IMAGE" headers="images.rh">
				<mapSimpleMember property="image.bmpfile" member="bmpfile"	 />
				<mapIdentifierMember property="image.bmpid" member="bmpid"	 />
				<mapIdentifierMember property="image.bmpmask" member="bmpmask"	 />
			</mapResource>
		</sourceMapping>
		
		<properties>
			<property name="name" type="uniqueName"/>
			<compoundProperty name="image"  
				type="com.nokia.sdt.symbian.imageProperty"
				editorClass="com.nokia.sdt.symbian.ui.editors.ImageEditorFactory" />
		</properties>
	</component>
</componentDefinition>