uidesigner/com.nokia.sdt.test.componentlibrary/components/localized.component
changeset 0 fb279309251b
equal deleted inserted replaced
-1:000000000000 0:fb279309251b
       
     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 	<compoundPropertyDeclaration qualifiedName="com.nokia.examples.localizedCompound">
       
    12 		<property name="abc" displayName="%loc-abc" type="integer"/>
       
    13 		<property name="def" displayName="%loc-def" type="integer"/>
       
    14 	</compoundPropertyDeclaration>
       
    15 	<enumPropertyDeclaration qualifiedName="com.nokia.examples.localizedEnum"
       
    16 				defaultValue="blue">
       
    17 		<enumElement value="red" displayValue="%loc-red"/>
       
    18 		<enumElement value="green" displayValue="%loc-green"/>
       
    19 		<enumElement value="blue" displayValue="Blue-color"/>
       
    20 	</enumPropertyDeclaration>
       
    21 	<component friendlyName="%Localized-friendly" 
       
    22 		qualifiedName="com.nokia.examples.localizedComponent" 
       
    23 		baseComponent="com.nokia.examples.localizedBaseComponent"
       
    24 		category="Testing" version="1.0">
       
    25 		<documentation>
       
    26 			<information>Base component information</information>
       
    27 			<helpTopic>Base component help topic</helpTopic>
       
    28 		</documentation>
       
    29 		<symbian sdkName="com.nokia.series60" minSDKVersion="2.0" maxSDKVersion="3.0" />
       
    30 		<attributes>
       
    31 			<attribute key="not-in-toolbox">true</attribute>
       
    32 		</attributes>
       
    33 		<properties>
       
    34 			<property displayName="%loc-name" name="name" type="uniqueName"/>
       
    35 			<property displayName="%loc-flag" name="flag" type="boolean"/>
       
    36 			<compoundProperty displayName="%loc-compound" name="compound1" type="com.nokia.examples.localizedCompound"/>
       
    37 			<enumProperty displayName="%loc-enum" name="enum1" type="com.nokia.examples.localizedEnum"/>
       
    38 		</properties>
       
    39 	</component>
       
    40 </componentDefinition>