uidesigner/com.nokia.sdt.component.symbian.test/data/scripting/base.component
changeset 2 d760517a8095
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uidesigner/com.nokia.sdt.component.symbian.test/data/scripting/base.component	Tue Mar 24 22:20:21 2009 -0500
@@ -0,0 +1,42 @@
+<?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">
+	<compoundPropertyDeclaration qualifiedName="locationProperty">
+		<property name="x" type="integer" default="10" />
+		<property name="y" type="integer" default="20" />
+	</compoundPropertyDeclaration>
+	<component
+		friendlyName="Base" qualifiedName="com.nokia.examples.base" 
+		category="Basic" version="1.0">
+		<attributes>
+			<attribute key="baseAttributeBool">true</attribute>
+			<attribute key="baseAttributeString">Hello</attribute>
+		</attributes>
+		
+		<events>
+			<event name="eventChanged" 
+		    displayName="stuff changed" category="Data" 
+		    handlerNameTemplate="{title(name)}Changed"
+			/>
+			<event name="eventCreated" 
+		    displayName="stuff created" category="Data" 
+		    handlerNameTemplate="{title(name)}Created"
+			/>
+		</events>
+		
+		<properties>
+			<compoundProperty name="size" type="locationProperty" />
+			<property name="name" type="string" />
+			<property name="className" type="string" />
+		</properties>
+	</component>
+</componentDefinition>