|
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 <component |
|
14 baseComponent="com.nokia.examples.layoutable" |
|
15 friendlyName="ScriptContainer" qualifiedName="com.nokia.examples.scriptLayoutContainer" |
|
16 category="Basic" version="1.0"> |
|
17 <attributes> |
|
18 <attribute key="is-layout-object">true</attribute> |
|
19 <attribute key="is-layout-container">true</attribute> |
|
20 <attribute key="display-model-class">com.nokia.sdt.component.symbian/com.nokia.sdt.component.symbian.displaymodel.DisplayModelS60</attribute> |
|
21 </attributes> |
|
22 <properties> |
|
23 <property name="foo" type="integer" default="0"/> |
|
24 <property name="test" type="string" default="test"/> |
|
25 </properties> |
|
26 <implementations> |
|
27 <implementation> |
|
28 <interface id="com.nokia.sdt.datamodel.adapter.ILayout"/> |
|
29 <script file="script_layout.js" |
|
30 prototype="Layout"/> |
|
31 </implementation> |
|
32 <implementation> |
|
33 <interface id="com.nokia.sdt.datamodel.adapter.IQueryContainment"/> |
|
34 <script file="script_queryContainment.js" prototype="QueryContainment"/> |
|
35 </implementation> |
|
36 <implementation> |
|
37 <interface id="com.nokia.sdt.datamodel.adapter.IInitializer"/> |
|
38 <script file="script_initializer.js" prototype="CInitializer"/> |
|
39 </implementation> |
|
40 <implementation> |
|
41 <interface id="com.nokia.sdt.datamodel.adapter.IComponentInstanceChildListener"/> |
|
42 <script file="script_listener.js" prototype="Listener"/> |
|
43 </implementation> |
|
44 </implementations> |
|
45 </component> |
|
46 </componentDefinition> |