uidesigner/com.nokia.sdt.component.symbian.test/data/reconcilePropertyTest/reconcilePropertyScript.component
author dadubrow
Tue, 19 May 2009 15:41:05 -0500
changeset 165 cffbaf033837
parent 0 fb279309251b
permissions -rw-r--r--
[Bug 9085] Add new TCP/IP connection type with port mappings and new service interface to optionally provide defaults.

<?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" 
xsi:schemaLocation="http://www.nokia.com/sdt/emf/component
C:\Users\NOKIAI~1\RADPLA~1\design\component.xsd">
	<enumPropertyDeclaration qualifiedName="summaryEnum">
		<enumElement value="Zero"/>
		<enumElement value="One"/>
		<enumElement value="Two"/>
		<enumElement value="Three"/>
		<enumElement value="Many"/>
	</enumPropertyDeclaration>

	<compoundPropertyDeclaration editableType="summaryEnum" qualifiedName="compoundProperty">
		<property name="first" type="integer"/>
		<property name="second" type="integer"/>
	</compoundPropertyDeclaration>

	<component
		friendlyName="ScriptComponent" qualifiedName="com.nokia.examples.reconcilePropertyScript" 
		category="Basic" version="1.0">
		<properties>
			<compoundProperty name="compound" type="compoundProperty"/>
		</properties>
		<implementations>
			<implementation>
				<interface id="com.nokia.sdt.datamodel.adapter.IReconcileProperty"/>
				<script file="script_reconcile.js" prototype="Reconcile"/>
			</implementation>
		</implementations>
	</component>
</componentDefinition>