uidesigner/com.nokia.carbide.cpp.uiq.components/components/controls/ControlBase/ControlCollectionItemBase.component
author timkelly
Tue, 21 Apr 2009 14:51:39 -0500
branchRCL_2_0
changeset 109 2a4136280275
parent 2 d760517a8095
permissions -rw-r--r--
Fix again for bug 8902. Give direct access to BuildArgumentsInfo class and deprecate IBuildArgumentsInfo.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
cawthron
parents:
diff changeset
     2
<!-- START_USECASES: CU10 END_USECASES -->
cawthron
parents:
diff changeset
     3
<!-- Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). -->
cawthron
parents:
diff changeset
     4
<!-- All rights reserved. -->
cawthron
parents:
diff changeset
     5
<!-- This component and the accompanying materials are made available -->
cawthron
parents:
diff changeset
     6
<!-- under the terms of the License "Eclipse Public License v1.0" -->
cawthron
parents:
diff changeset
     7
<!-- which accompanies this distribution, and is available -->
cawthron
parents:
diff changeset
     8
<!-- at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
cawthron
parents:
diff changeset
     9
<componentDefinition xmlns="http://www.nokia.com/sdt/emf/component"
cawthron
parents:
diff changeset
    10
					xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
cawthron
parents:
diff changeset
    11
					
cawthron
parents:
diff changeset
    12
	<!-- This component is the abstract base component for
cawthron
parents:
diff changeset
    13
	     all UIQ control collection item components
cawthron
parents:
diff changeset
    14
	 -->					
cawthron
parents:
diff changeset
    15
	<component 
cawthron
parents:
diff changeset
    16
			baseComponent="com.nokia.carbide.uiq.CommonBase"
cawthron
parents:
diff changeset
    17
			qualifiedName="com.nokia.carbide.uiq.ControlCollectionItemBase"
cawthron
parents:
diff changeset
    18
			version="1.0"
cawthron
parents:
diff changeset
    19
			abstract="true">
cawthron
parents:
diff changeset
    20
									
cawthron
parents:
diff changeset
    21
		<symbian sdkName="com.uiq" minSDKVersion="3.0"/>
cawthron
parents:
diff changeset
    22
		
cawthron
parents:
diff changeset
    23
		<attributes>
cawthron
parents:
diff changeset
    24
	    	<attribute key="not-in-toolbox">false</attribute>
cawthron
parents:
diff changeset
    25
			<attribute key ="is-qikcontainer-content">true</attribute>
cawthron
parents:
diff changeset
    26
			<attribute key ="is-slot-content">true</attribute>
cawthron
parents:
diff changeset
    27
		</attributes>
cawthron
parents:
diff changeset
    28
		
cawthron
parents:
diff changeset
    29
		<properties>
cawthron
parents:
diff changeset
    30
			<property name="dimmed"
cawthron
parents:
diff changeset
    31
				displayName="%dimmed"
cawthron
parents:
diff changeset
    32
				descriptionKey="dimmedDescription"
cawthron
parents:
diff changeset
    33
				category="%category.appearance"
cawthron
parents:
diff changeset
    34
				type="boolean"
cawthron
parents:
diff changeset
    35
				default="false"/>
cawthron
parents:
diff changeset
    36
			<property name="isVisible"
cawthron
parents:
diff changeset
    37
				displayName="%visible"
cawthron
parents:
diff changeset
    38
				descriptionKey="visible.description"
cawthron
parents:
diff changeset
    39
				category="%category.appearance"
cawthron
parents:
diff changeset
    40
				type="boolean"
cawthron
parents:
diff changeset
    41
				default="true"/>
cawthron
parents:
diff changeset
    42
		</properties>
cawthron
parents:
diff changeset
    43
		
cawthron
parents:
diff changeset
    44
		<implementations>
cawthron
parents:
diff changeset
    45
			<implementation>
cawthron
parents:
diff changeset
    46
				<interface id="com.nokia.sdt.datamodel.adapter.IComponentEventInfo"/>
cawthron
parents:
diff changeset
    47
				<script file="ControlCollectionItemBase.js" prototype="ControlCollectionItemBaseEventInfo"/>
cawthron
parents:
diff changeset
    48
			</implementation>
cawthron
parents:
diff changeset
    49
			<implementation>
cawthron
parents:
diff changeset
    50
				<interface id="com.nokia.sdt.datamodel.adapter.IPropertyExtenders"/>
cawthron
parents:
diff changeset
    51
				<script file="ControlCollectionItemBase_propertyExtenders.js" prototype="ControlCollectionItemBasePropertyExtenders"/>
cawthron
parents:
diff changeset
    52
			</implementation>
cawthron
parents:
diff changeset
    53
			<implementation>
cawthron
parents:
diff changeset
    54
				<interface id="com.nokia.sdt.datamodel.adapter.IClipboardCommandExtender"/>
cawthron
parents:
diff changeset
    55
				<code class="com.nokia.carbide.cpp.uiq.components.controlCollection.ClipboardCommandExtenderFactory"/>
cawthron
parents:
diff changeset
    56
			</implementation> 			
cawthron
parents:
diff changeset
    57
		</implementations>
cawthron
parents:
diff changeset
    58
cawthron
parents:
diff changeset
    59
		<sourceGen>
cawthron
parents:
diff changeset
    60
cawthron
parents:
diff changeset
    61
			<templateGroup id="makeVisible" form="InstanceGen">
cawthron
parents:
diff changeset
    62
			
cawthron
parents:
diff changeset
    63
				<inline id="mv">
cawthron
parents:
diff changeset
    64
					<![CDATA[
cawthron
parents:
diff changeset
    65
	setPropertiesForPhase(contribs, "InitializeControlHandlers", 0, instanceMemberName, true,
cawthron
parents:
diff changeset
    66
		properties.isVisible, true, "{0}->MakeVisible( {1} );\n",
cawthron
parents:
diff changeset
    67
		properties.dimmed,false,"{0}->SetDimmed( {1} );\n");
cawthron
parents:
diff changeset
    68
					]]>			
cawthron
parents:
diff changeset
    69
				</inline>
cawthron
parents:
diff changeset
    70
				
cawthron
parents:
diff changeset
    71
			</templateGroup>
cawthron
parents:
diff changeset
    72
		</sourceGen>
cawthron
parents:
diff changeset
    73
cawthron
parents:
diff changeset
    74
	</component>
cawthron
parents:
diff changeset
    75
cawthron
parents:
diff changeset
    76
</componentDefinition>