|
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 <enumPropertyDeclaration qualifiedName="summaryEnum"> |
|
14 <enumElement value="Zero"/> |
|
15 <enumElement value="One"/> |
|
16 <enumElement value="Two"/> |
|
17 <enumElement value="Three"/> |
|
18 <enumElement value="Many"/> |
|
19 </enumPropertyDeclaration> |
|
20 |
|
21 <compoundPropertyDeclaration editableType="summaryEnum" qualifiedName="compoundProperty"> |
|
22 <property name="first" type="integer"/> |
|
23 <property name="second" type="integer"/> |
|
24 </compoundPropertyDeclaration> |
|
25 |
|
26 <component |
|
27 friendlyName="ScriptComponent" qualifiedName="com.nokia.examples.reconcilePropertyScript" |
|
28 category="Basic" version="1.0"> |
|
29 <properties> |
|
30 <compoundProperty name="compound" type="compoundProperty"/> |
|
31 </properties> |
|
32 <implementations> |
|
33 <implementation> |
|
34 <interface id="com.nokia.sdt.datamodel.adapter.IReconcileProperty"/> |
|
35 <script file="script_reconcile.js" prototype="Reconcile"/> |
|
36 </implementation> |
|
37 </implementations> |
|
38 </component> |
|
39 </componentDefinition> |