uidesigner/com.nokia.sdt.symbian.tests/data/images/components/testControlBase.component
changeset 2 d760517a8095
equal deleted inserted replaced
-1:000000000000 2:d760517a8095
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <componentDefinition xmlns="http://www.nokia.com/sdt/emf/component" 
       
     3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
       
     4 <!-- Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -->
       
     5 <!-- All rights reserved. -->
       
     6 <!-- This component and the accompanying materials are made available -->
       
     7 <!-- under the terms of the License "Eclipse Public License v1.0" -->
       
     8 <!-- which accompanies this distribution, and is available -->
       
     9 <!-- at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
    10 
       
    11 	<!-- This component is the abstract base component for
       
    12 	     all Series 60 control components
       
    13 	 -->
       
    14 
       
    15 
       
    16 	<compoundPropertyDeclaration qualifiedName="com.nokia.sdt.test.locationProperty">
       
    17 		<property name="x" type="integer"/>
       
    18 		<property name="y" type="integer"/>
       
    19 	</compoundPropertyDeclaration>
       
    20 	<compoundPropertyDeclaration qualifiedName="com.nokia.sdt.test.sizeProperty">
       
    21 		<property name="width" type="integer"/>
       
    22 		<property name="height" type="integer"/>
       
    23 	</compoundPropertyDeclaration>
       
    24 
       
    25 	<compoundPropertyDeclaration 
       
    26 		qualifiedName="com.nokia.sdt.symbian.test.imageProperty"
       
    27 		converterClass="com.nokia.sdt.symbian.images.SymbianImageValueConverter"
       
    28 		>
       
    29 		<property name="bmpfile" displayName="multi-image file" type="string" readOnly="true"/>
       
    30 		<property name="bmpid" displayName="image id" type="string" readOnly="true"/>
       
    31 		<property name="bmpmask" displayName="image mask id" type="string" readOnly="true"/>
       
    32 	</compoundPropertyDeclaration>
       
    33 
       
    34 	<compoundPropertyDeclaration 
       
    35 		qualifiedName="com.nokia.carbide.uiq.ImageProperty"
       
    36 		converterClass="com.nokia.sdt.symbian.images.UIQImageValueConverter">
       
    37 		<property name="bmpfile" displayName="multi-image file" type="string" readOnly="true"/>
       
    38 		<property name="bmpid" displayName="image id" type="string" readOnly="true"/>
       
    39 		<property name="bmpmask" displayName="image mask id" type="string" readOnly="true"/>
       
    40 		<property name="uri" displayName="uri" type="string" readOnly="true"/>
       
    41 	</compoundPropertyDeclaration>
       
    42 
       
    43 
       
    44 	<component 
       
    45 			friendlyName="" 
       
    46 			qualifiedName="com.nokia.sdt.test.testControlBase" 
       
    47 			abstract="true"
       
    48 			version="0.1">
       
    49 		<attributes>
       
    50 			<attribute key="is-layout-object">true</attribute>
       
    51 		</attributes>
       
    52 		<properties>
       
    53 			<property category="Design" name="name" displayName="%name" type="uniqueName"/>
       
    54 			<compoundProperty category="Layout" name="location" displayName="%location" 
       
    55 				type="com.nokia.sdt.test.locationProperty"
       
    56 				/>
       
    57 			<compoundProperty category="Layout" name="size" displayName="%size" 
       
    58 			type="com.nokia.sdt.test.sizeProperty"
       
    59 				/>
       
    60 		</properties>
       
    61 
       
    62 	</component>
       
    63 </componentDefinition>