uidesigner/com.nokia.sdt.symbian.tests/data/images/components/srcmapImage.component
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uidesigner/com.nokia.sdt.symbian.tests/data/images/components/srcmapImage.component Tue Mar 24 22:20:21 2009 -0500
@@ -0,0 +1,40 @@
+<?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>