uidesigner/com.nokia.sdt.test.componentlibrary/components/testing/container.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:xsi="http://www.w3.org/2001/XMLSchema-instance" >
       
    10 	<component 
       
    11 	    qualifiedName="com.nokia.examples.container" 
       
    12 		baseComponent="com.nokia.examples.baseComponent"
       
    13 	    friendlyName="Container" 
       
    14   		category="Testing" 
       
    15    		version="1.0">
       
    16 		<documentation>
       
    17 			<information>Container information</information>
       
    18 			<helpTopic>Container help topic</helpTopic>
       
    19 		</documentation>
       
    20 		<symbian sdkName="com.nokia.series60" minSDKVersion="2.0"
       
    21 			className="CContainer" classHelpTopic="org.eclipse.ui.property_sheet_page_help_context" 
       
    22 			resourceType="CONTAINER" />
       
    23 	 	<designerImages smallIconFile="test-image.bmp" 
       
    24 	  	       largeIconFile="test-image.bmp" layoutImageFile="test-image.bmp"/>
       
    25 	  	<attributes>
       
    26 	  		<attribute key="is-layout-container">true</attribute>
       
    27 			<attribute key="switchable-child-container">true</attribute>
       
    28 			<attribute key="switchable-child-context-menu">true</attribute>
       
    29 			<attribute key="switchable-child-context-menu-child-label">Visible child</attribute>
       
    30 	  		<attribute key="display-model-class">com.nokia.sdt.component.symbian.displaymodel.DisplayModelS60</attribute>
       
    31 			<attribute key="supported-layouts">classic_portrait</attribute>
       
    32 		</attributes>
       
    33 		<properties>
       
    34 			<property name="className" type="string"/>
       
    35 			<componentReferenceProperty scope="children" name="childRef"/>
       
    36 		</properties>
       
    37  		<implementations>
       
    38 			<implementation>
       
    39 				<interface id="com.nokia.sdt.datamodel.adapter.IVisualAppearance"/>
       
    40 				<script file="container_visual.js" prototype="Visual"/>
       
    41 			</implementation>
       
    42 		</implementations>
       
    43 	</component>
       
    44 </componentDefinition>