uidesigner/com.nokia.sdt.component.symbian.test/data/componentValidatorTest/test.component
changeset 2 d760517a8095
equal deleted inserted replaced
-1:000000000000 2:d760517a8095
       
     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 
       
    12 	<compoundPropertyDeclaration qualifiedName="com.nokia.test.componentValidator.compoundProperty">
       
    13 		<property name="m1" type="string"/>
       
    14 		<property name="m2" type="string"/>
       
    15 		<property name="oddonly" type="integer"/>
       
    16 	</compoundPropertyDeclaration>
       
    17 
       
    18 	<component
       
    19 		qualifiedName="com.nokia.test.componentValidator" 
       
    20 		version="1.0">
       
    21 		<properties>
       
    22 			<property name="always" type="string"/>
       
    23 			<property name="never" type="string"/>
       
    24 			<property name="notnull" type="string"/>
       
    25 			<compoundProperty name="compound" type="com.nokia.test.componentValidator.compoundProperty"/>
       
    26 		</properties>
       
    27 		
       
    28 		<implementations>
       
    29 			<implementation>
       
    30 				<interface id="com.nokia.sdt.datamodel.adapter.IComponentValidator"/>
       
    31 				<script file="validate.js" prototype="ComponentValidator"/>
       
    32 			</implementation>
       
    33 		</implementations>
       
    34 	</component>
       
    35 </componentDefinition>