uidesigner/com.nokia.sdt.test.componentlibrary/components/testing/base.component
author cawthron
Tue, 24 Mar 2009 22:20:21 -0500
changeset 2 d760517a8095
permissions -rw-r--r--
new
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
cawthron
parents:
diff changeset
     2
<!-- Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -->
cawthron
parents:
diff changeset
     3
<!-- All rights reserved.                                              -->
cawthron
parents:
diff changeset
     4
<!-- This component and the accompanying materials are made available  -->
cawthron
parents:
diff changeset
     5
<!-- under the terms of the License "Eclipse Public License v1.0"      -->
cawthron
parents:
diff changeset
     6
<!-- which accompanies this distribution, and is available             -->
cawthron
parents:
diff changeset
     7
<!-- at the URL "http://www.eclipse.org/legal/epl-v10.html".           -->
cawthron
parents:
diff changeset
     8
<componentDefinition xmlns="http://www.nokia.com/sdt/emf/component" 
cawthron
parents:
diff changeset
     9
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" 
cawthron
parents:
diff changeset
    10
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
cawthron
parents:
diff changeset
    11
	<compoundPropertyDeclaration qualifiedName="com.nokia.examples.locationProperty">
cawthron
parents:
diff changeset
    12
		<property name="x" type="integer"/>
cawthron
parents:
diff changeset
    13
		<property name="y" type="integer"/>
cawthron
parents:
diff changeset
    14
	</compoundPropertyDeclaration>
cawthron
parents:
diff changeset
    15
	<compoundPropertyDeclaration qualifiedName="com.nokia.examples.sizeProperty">
cawthron
parents:
diff changeset
    16
		<property name="width" type="integer"/>
cawthron
parents:
diff changeset
    17
		<property name="height" type="integer"/>
cawthron
parents:
diff changeset
    18
	</compoundPropertyDeclaration>
cawthron
parents:
diff changeset
    19
	<component friendlyName="Base" qualifiedName="com.nokia.examples.baseComponent" 
cawthron
parents:
diff changeset
    20
		category="Testing" version="1.0">
cawthron
parents:
diff changeset
    21
		<documentation>
cawthron
parents:
diff changeset
    22
			<information>Base component information</information>
cawthron
parents:
diff changeset
    23
			<helpTopic>Base component help topic</helpTopic>
cawthron
parents:
diff changeset
    24
		</documentation>
cawthron
parents:
diff changeset
    25
		<symbian sdkName="com.nokia.series60" minSDKVersion="2.0" />
cawthron
parents:
diff changeset
    26
		<designerImages smallIconFile="test-image.bmp" largeIconFile="test-image.bmp" layoutImageFile="test-image.bmp"/>
cawthron
parents:
diff changeset
    27
		<attributes>
cawthron
parents:
diff changeset
    28
			<attribute key="is-layout-object">true</attribute>
cawthron
parents:
diff changeset
    29
		</attributes>
cawthron
parents:
diff changeset
    30
		<properties>
cawthron
parents:
diff changeset
    31
			<property category="Basic" displayName="name" name="name" type="uniqueName"/>
cawthron
parents:
diff changeset
    32
			<property category="Bizarre" displayName="flag" name="flag" type="boolean"/>
cawthron
parents:
diff changeset
    33
			<compoundProperty category="Layout" displayName="location" name="location" type="com.nokia.examples.locationProperty"/>
cawthron
parents:
diff changeset
    34
			<compoundProperty category="Layout" displayName="size" name="size" type="com.nokia.examples.sizeProperty"/>
cawthron
parents:
diff changeset
    35
			<property name="text" type="localizedString"/>
cawthron
parents:
diff changeset
    36
			<componentReferenceProperty scope="siblings" name="siblingRef"/>
cawthron
parents:
diff changeset
    37
		</properties>
cawthron
parents:
diff changeset
    38
		<events>
cawthron
parents:
diff changeset
    39
			<event name="com.nokia.examples.baseComponent.somethingHappened" category="example" 
cawthron
parents:
diff changeset
    40
			    handlerNameTemplate="{title(name)}_SomethingHappened" 
cawthron
parents:
diff changeset
    41
			    />
cawthron
parents:
diff changeset
    42
		</events>
cawthron
parents:
diff changeset
    43
		<implementations>
cawthron
parents:
diff changeset
    44
			<implementation>
cawthron
parents:
diff changeset
    45
				<interface id="com.nokia.sdt.datamodel.adapter.IPropertyExtenders"/>
cawthron
parents:
diff changeset
    46
				<code class="com.nokia.sdt.series60.component.DefaultPropertyExtenderFactory"/>
cawthron
parents:
diff changeset
    47
			</implementation>
cawthron
parents:
diff changeset
    48
		</implementations>
cawthron
parents:
diff changeset
    49
	</component>
cawthron
parents:
diff changeset
    50
</componentDefinition>