uidesigner/com.nokia.sdt.series60.componentlibrary/components/controls/setting-items/CAknVolumeSettingItem.component
author Frank Turovich <frank.turovich@nokia.com>
Thu, 02 Apr 2009 15:09:04 -0500
changeset 24 f2ad263823f3
parent 2 d760517a8095
permissions -rw-r--r--
added DS_Store to hgignore list
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
<!-- Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). -->
cawthron
parents:
diff changeset
     3
<!-- All rights reserved. -->
cawthron
parents:
diff changeset
     4
<!-- This component and the accompanying materials are made available -->
cawthron
parents:
diff changeset
     5
<!-- under the terms of the License "Eclipse Public License v1.0" -->
cawthron
parents:
diff changeset
     6
<!-- which accompanies this distribution, and is available -->
cawthron
parents:
diff changeset
     7
<!-- at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
cawthron
parents:
diff changeset
     8
<componentDefinition xmlns="http://www.nokia.com/sdt/emf/component" 
cawthron
parents:
diff changeset
     9
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
cawthron
parents:
diff changeset
    10
cawthron
parents:
diff changeset
    11
	<component friendlyName="%friendlyName"
cawthron
parents:
diff changeset
    12
		qualifiedName="com.nokia.sdt.series60.CAknVolumeSettingItem"
cawthron
parents:
diff changeset
    13
		baseComponent="com.nokia.sdt.series60.CCoeControlBase" 
cawthron
parents:
diff changeset
    14
		category="Controls"
cawthron
parents:
diff changeset
    15
		instanceNameRoot="volumeSetting" version="1.0">
cawthron
parents:
diff changeset
    16
		<documentation>
cawthron
parents:
diff changeset
    17
			<information>%information</information>
cawthron
parents:
diff changeset
    18
			<helpTopic></helpTopic>
cawthron
parents:
diff changeset
    19
			<wizardDescription></wizardDescription>
cawthron
parents:
diff changeset
    20
		</documentation>
cawthron
parents:
diff changeset
    21
		<symbian minSDKVersion="2.0" sdkName="com.nokia.series60"
cawthron
parents:
diff changeset
    22
			resourceType="VOLUME" className="CAknVolumeSettingItem" />
cawthron
parents:
diff changeset
    23
		<designerImages 
cawthron
parents:
diff changeset
    24
			smallIconFile="CAknVolumeSettingItem_sm.png" 
cawthron
parents:
diff changeset
    25
			largeIconFile="CAknVolumeSettingItem.png"/>
cawthron
parents:
diff changeset
    26
				
cawthron
parents:
diff changeset
    27
		<attributes>
cawthron
parents:
diff changeset
    28
			<attribute key="cpp-class-name">CAknVolumeSettingItem</attribute>
cawthron
parents:
diff changeset
    29
			<attribute key="is-setting-item-list-content">true</attribute>
cawthron
parents:
diff changeset
    30
			<attribute key="setting-item-class-name">CAknVolumeSettingItem</attribute>
cawthron
parents:
diff changeset
    31
			<attribute key="data-model-cpp-type">TInt</attribute>
cawthron
parents:
diff changeset
    32
			<attribute key="rss-control-type-enum">EAknCtVolumeControl</attribute>
cawthron
parents:
diff changeset
    33
		</attributes>
cawthron
parents:
diff changeset
    34
	
cawthron
parents:
diff changeset
    35
		<properties>
cawthron
parents:
diff changeset
    36
			<property name="value" category="Data" 
cawthron
parents:
diff changeset
    37
				descriptionKey="valueDescription"
cawthron
parents:
diff changeset
    38
				type="integer" default="1" minValue="1" maxValue="10"
cawthron
parents:
diff changeset
    39
				/>
cawthron
parents:
diff changeset
    40
		</properties>
cawthron
parents:
diff changeset
    41
		
cawthron
parents:
diff changeset
    42
		<implementations>
cawthron
parents:
diff changeset
    43
			<implementation>
cawthron
parents:
diff changeset
    44
				<interface id="com.nokia.sdt.datamodel.adapter.IVisualAppearance"/>
cawthron
parents:
diff changeset
    45
				<interface id="com.nokia.sdt.datamodel.adapter.IDirectLabelEdit"/>
cawthron
parents:
diff changeset
    46
				<script file="CAknVolumeSettingItem.js" prototype="CAknVolumeSettingItem"/>
cawthron
parents:
diff changeset
    47
			</implementation>
cawthron
parents:
diff changeset
    48
		</implementations>
cawthron
parents:
diff changeset
    49
cawthron
parents:
diff changeset
    50
	<sourceMapping>
cawthron
parents:
diff changeset
    51
		<mapResource struct="VOLUME" headers="avkon.rh">
cawthron
parents:
diff changeset
    52
			<mapFixedMember member="flags" value="ESettingsVolumeControl" />
cawthron
parents:
diff changeset
    53
			<mapSimpleMember property="value" member="value"/>
cawthron
parents:
diff changeset
    54
		</mapResource>
cawthron
parents:
diff changeset
    55
	</sourceMapping>
cawthron
parents:
diff changeset
    56
cawthron
parents:
diff changeset
    57
		<sourceGen forms="Dialog Container">
cawthron
parents:
diff changeset
    58
	
cawthron
parents:
diff changeset
    59
			<useTemplate ids="INIT_FROM_CONTAINER" />
cawthron
parents:
diff changeset
    60
			<useTemplate ids="INIT_FROM_DIALOG" />
cawthron
parents:
diff changeset
    61
			<useTemplateGroup ids="CLASS_CONTRIBS" />
cawthron
parents:
diff changeset
    62
			<useTemplate ids="LAYOUT_CONTROLS" />
cawthron
parents:
diff changeset
    63
			<useTemplate ids="INIT_FROM_SETTINGS_LIST" />
cawthron
parents:
diff changeset
    64
cawthron
parents:
diff changeset
    65
		<template phase="Initialize" forms="SettingsList"><![CDATA[
cawthron
parents:
diff changeset
    66
<% 		this.setupSettingItem(contribs, 0, instance, ""+instance.properties.value); 
cawthron
parents:
diff changeset
    67
%>]]>	</template>
cawthron
parents:
diff changeset
    68
cawthron
parents:
diff changeset
    69
			<inline>
cawthron
parents:
diff changeset
    70
this.getCppSystemIncludes(contribs, [  ]);
cawthron
parents:
diff changeset
    71
			</inline>
cawthron
parents:
diff changeset
    72
cawthron
parents:
diff changeset
    73
		<useTemplateGroup ids="GenerateCommonControlEvents GenerateStateChangedEvent"/>
cawthron
parents:
diff changeset
    74
		<useTemplateGroup ids="GenerateRequestingFocusEvent GenerateRequestingExitEvent"/>
cawthron
parents:
diff changeset
    75
		<useTemplateGroup ids="GenerateRequestingCancelEvent GenerateInteractionRefusedEvent"/>
cawthron
parents:
diff changeset
    76
		<useTemplateGroup ids="GeneratePrepareFocusTransitionEvent"/>
cawthron
parents:
diff changeset
    77
cawthron
parents:
diff changeset
    78
		<useTemplateGroup ids="GenerateEditingStartedEvent GenerateEditingStoppedEvent"/>
cawthron
parents:
diff changeset
    79
cawthron
parents:
diff changeset
    80
	</sourceGen>
cawthron
parents:
diff changeset
    81
cawthron
parents:
diff changeset
    82
	</component>
cawthron
parents:
diff changeset
    83
</componentDefinition>
cawthron
parents:
diff changeset
    84