2
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<!-- Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -->
|
|
3 |
<!-- All rights reserved. -->
|
|
4 |
<!-- This component and the accompanying materials are made available -->
|
|
5 |
<!-- under the terms of the License "Eclipse Public License v1.0" -->
|
|
6 |
<!-- which accompanies this distribution, and is available -->
|
|
7 |
<!-- at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
|
|
8 |
<componentDefinition xmlns="http://www.nokia.com/sdt/emf/component"
|
|
9 |
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
|
|
10 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
11 |
xsi:schemaLocation="http://www.nokia.com/sdt/emf/component
|
|
12 |
C:\Users\NOKIAI~1\RADPLA~1\design\component.xsd">
|
|
13 |
<compoundPropertyDeclaration qualifiedName="locationProperty">
|
|
14 |
<property name="x" type="integer" default="10" />
|
|
15 |
<property name="y" type="integer" default="20" />
|
|
16 |
</compoundPropertyDeclaration>
|
|
17 |
<component
|
|
18 |
friendlyName="Base" qualifiedName="com.nokia.examples.base"
|
|
19 |
category="Basic" version="1.0">
|
|
20 |
<attributes>
|
|
21 |
<attribute key="baseAttributeBool">true</attribute>
|
|
22 |
<attribute key="baseAttributeString">Hello</attribute>
|
|
23 |
</attributes>
|
|
24 |
|
|
25 |
<events>
|
|
26 |
<event name="eventChanged"
|
|
27 |
displayName="stuff changed" category="Data"
|
|
28 |
handlerNameTemplate="{title(name)}Changed"
|
|
29 |
/>
|
|
30 |
<event name="eventCreated"
|
|
31 |
displayName="stuff created" category="Data"
|
|
32 |
handlerNameTemplate="{title(name)}Created"
|
|
33 |
/>
|
|
34 |
</events>
|
|
35 |
|
|
36 |
<properties>
|
|
37 |
<compoundProperty name="size" type="locationProperty" />
|
|
38 |
<property name="name" type="string" />
|
|
39 |
<property name="className" type="string" />
|
|
40 |
</properties>
|
|
41 |
</component>
|
|
42 |
</componentDefinition>
|