uidesigner/com.nokia.sdt.test.componentlibrary/components/reftest.component
author Ed Swartz <ed.swartz@nokia.com>
Wed, 08 Sep 2010 17:13:42 -0500
changeset 1966 67581ab567b1
parent 0 fb279309251b
permissions -rw-r--r--
Avoid NPEs when services (like TRK) go missing

<?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">
	
	<compoundPropertyDeclaration qualifiedName="com.nokia.test.componentReferenceTest.refCompound">
		<componentReferenceProperty scope="model" name="f1-unconstrained"/>
		<componentReferenceProperty scope="model" name="f2-constrained" constraint="com.nokia.examples.renderTest"/>
	</compoundPropertyDeclaration>

	<component friendlyName="ComponentReferenceTest" 
		qualifiedName="com.nokia.test.componentReferenceTest" 
		category="Testing" version="1.0">
		<symbian sdkName="com.nokia.series60" minSDKVersion="2.0" maxSDKVersion="3.0"/>
		<attributes>
			<attribute key="not-in-toolbox">true</attribute>
		</attributes>
		<properties>
			<property name="name" type="uniqueName"/>
			<componentReferenceProperty scope="model" name="unconstrained-reference"/>
			<componentReferenceProperty scope="model" name="constrained-reference" constraint="com.nokia.examples.renderTest"/>
			<compoundProperty name="refCompound" type="com.nokia.test.componentReferenceTest.refCompound"/>
		</properties>
	</component>
</componentDefinition>