uidesigner/com.nokia.sdt.test.componentlibrary/components/testing/filteredEvents.component
author fturovic <frank.turovich@nokia.com>
Mon, 20 Sep 2010 15:54:38 -0500
changeset 2071 756f68052401
parent 0 fb279309251b
permissions -rw-r--r--
minor edits and updates to index

<?xml version="1.0" encoding="UTF-8"?>
<!-- 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".           -->
<componentDefinition xmlns="http://www.nokia.com/sdt/emf/component" 
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<compoundPropertyDeclaration qualifiedName="com.nokia.examples.locationProperty">
		<property name="x" type="integer"/>
		<property name="y" type="integer"/>
	</compoundPropertyDeclaration>
	<compoundPropertyDeclaration qualifiedName="com.nokia.examples.sizeProperty">
		<property name="width" type="integer"/>
		<property name="height" type="integer"/>
	</compoundPropertyDeclaration>
	<component friendlyName="Base" 
		qualifiedName="com.nokia.examples.filteredEventsComponent" 
		category="Testing" version="1.0">
		<symbian sdkName="com.nokia.series60" minSDKVersion="2.0" maxSDKVersion="3.0" />
		<attributes>
			<attribute key="is-layout-object">true</attribute>
			<attribute key="supported-layouts">classic_portrait</attribute>
		</attributes>
		<events defaultEventName="com.nokia.examples.baseComponent.specialEvent">
			<event name="com.nokia.examples.baseComponent.somethingHappened" category="example" 
				group="default"
			    handlerNameTemplate="{title(name)}_SomethingHappened" 
			    />
			<event name="com.nokia.examples.baseComponent.specialEvent" category="example" 
				group="special"
			    handlerNameTemplate="{title(name)}_SpecialHandler" 
			    />
		</events>
		<implementations>
			<implementation>
				<interface id="com.nokia.sdt.datamodel.adapter.IComponentEventInfo"/>
				<script file="filteredEvents.js" prototype="FilteredEvents"/>
			</implementation>
		</implementations>
	</component>
</componentDefinition>