uidesigner/com.nokia.sdt.series60.componentlibrary/components/app/CAknAppUiBase.component
changeset 0 fb279309251b
equal deleted inserted replaced
-1:000000000000 0:fb279309251b
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!DOCTYPE componentDefinition [
       
     3 ]>
       
     4 <!-- Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). -->
       
     5 <!-- All rights reserved. -->
       
     6 <!-- This component and the accompanying materials are made available -->
       
     7 <!-- under the terms of the License "Eclipse Public License v1.0" -->
       
     8 <!-- which accompanies this distribution, and is available -->
       
     9 <!-- at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
    10 
       
    11 
       
    12 <componentDefinition xmlns="http://www.nokia.com/sdt/emf/component"
       
    13 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       
    14 
       
    15 	<enumPropertyDeclaration qualifiedName="com.nokia.sdt.series60.CAknAppUi.Orientation">
       
    16 		<enumElement value="EAppUiOrientationUnspecified" displayValue="Unspecified"/>
       
    17 		<enumElement value="EAppUiOrientationPortrait" displayValue="Portrait"/>
       
    18 		<enumElement value="EAppUiOrientationLandscape" displayValue="Landscape"/>
       
    19 	</enumPropertyDeclaration>
       
    20  
       
    21 	<component baseComponent="com.nokia.sdt.series60.DesignTimeContainer" 
       
    22 			qualifiedName="com.nokia.sdt.series60.CAknAppUiBase" 
       
    23 			abstract="true"
       
    24 			version="1.0">
       
    25 		<documentation>
       
    26 			<information>The Series 60 top-level Avkon view application UI class.  
       
    27 			This is a non-visual class which holds a reference to
       
    28 			a visual component (such as CAknDialog or CCoeControl).</information>
       
    29 		</documentation>
       
    30 		<symbian sdkName="com.nokia.series60" 
       
    31 				minSDKVersion="2.0" 
       
    32 			/>
       
    33 		<attributes>
       
    34 			<attribute key="options-menu-property-name">optionsMenu</attribute>
       
    35 			<attribute key="event-handler-target">true</attribute>
       
    36 			<attribute key="base-appui-class">CAknAppUi</attribute>
       
    37 			<attribute key="is-symbian-appui">true</attribute>
       
    38 		</attributes>
       
    39 		<properties>
       
    40 			<componentReferenceProperty category="Application" 
       
    41 				scope="children" constraint="com.nokia.sdt.series60.MenuBar" 
       
    42 				descriptionKey="optionsMenuDescription"
       
    43 				name="optionsMenu"/>
       
    44 			<componentReferenceProperty category="Application" 
       
    45 				scope="children" constraint="com.nokia.sdt.series60.DesignReference" 
       
    46 				descriptionKey="initialDesignDescription"
       
    47 				name="initialDesign"/>
       
    48 			<property category="Appearance" name="skinsSupported" type="boolean" 
       
    49 				descriptionKey="skinsSupportedDescription"
       
    50 				default="true" />
       
    51 			<!-- sensible to allow at startup? <property category="Appearance" displayName="Faded" name="faded" type="boolean"/>	 -->
       
    52 		</properties>
       
    53 		<implementations>
       
    54 			<implementation>
       
    55 				<interface id="com.nokia.sdt.datamodel.adapter.ILayout"/>
       
    56 				<script file="CAknAppUi_layout.js"
       
    57 					prototype="CAknAppUiLayout"/>
       
    58 			</implementation>
       
    59 			<implementation>
       
    60 				<interface id="com.nokia.sdt.datamodel.adapter.IVisualAppearance"/>
       
    61 				<script file="CAknAppUi_visual.js" prototype="CAknAppUiVisual"/>
       
    62 			</implementation>
       
    63 			<implementation>
       
    64 				<interface id="com.nokia.sdt.datamodel.adapter.IQueryContainment"/>
       
    65 				<script file="CAknAppUi_queryContainment.js" prototype="CAknAppUiQueryContainment"/>
       
    66 			</implementation>
       
    67 		</implementations>
       
    68 
       
    69 	</component>
       
    70 </componentDefinition>