uidesigner/com.nokia.sdt.component.symbian.test/data/display/layoutable.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 	<compoundPropertyDeclaration qualifiedName="locationProperty">
       
    14 		<property name="x" type="integer" default="0" />
       
    15 		<property name="y" type="integer" default="0" />
       
    16 	</compoundPropertyDeclaration>
       
    17 	<compoundPropertyDeclaration qualifiedName="sizeProperty">
       
    18 		<property name="width" type="integer" default="10" />
       
    19 		<property name="height" type="integer" default="10" />
       
    20 	</compoundPropertyDeclaration>
       
    21 	<component
       
    22 		friendlyName="Layoutable" qualifiedName="com.nokia.examples.layoutable" 
       
    23 		category="Basic" version="1.0">
       
    24 		<properties>
       
    25 			<compoundProperty name="location" type="locationProperty" />
       
    26 			<compoundProperty name="size" type="sizeProperty" />
       
    27 		</properties>
       
    28 		<implementations>
       
    29 			<implementation>
       
    30 				<interface id="com.nokia.sdt.datamodel.adapter.ILayout"/>
       
    31 				<script file="layoutable.js" prototype="Layout"/>
       
    32 			</implementation>
       
    33 		</implementations>
       
    34 	</component>
       
    35 </componentDefinition>