2
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<!-- Copyright (c) 2006 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 |
|
|
11 |
<component friendlyName="%friendlyName"
|
|
12 |
qualifiedName="com.nokia.sdt.series60.CAknVolumeSettingItem"
|
|
13 |
baseComponent="com.nokia.sdt.series60.CCoeControlBase"
|
|
14 |
category="Controls"
|
|
15 |
instanceNameRoot="volumeSetting" version="1.0">
|
|
16 |
<documentation>
|
|
17 |
<information>%information</information>
|
|
18 |
<helpTopic></helpTopic>
|
|
19 |
<wizardDescription></wizardDescription>
|
|
20 |
</documentation>
|
|
21 |
<symbian minSDKVersion="2.0" sdkName="com.nokia.series60"
|
|
22 |
resourceType="VOLUME" className="CAknVolumeSettingItem" />
|
|
23 |
<designerImages
|
|
24 |
smallIconFile="CAknVolumeSettingItem_sm.png"
|
|
25 |
largeIconFile="CAknVolumeSettingItem.png"/>
|
|
26 |
|
|
27 |
<attributes>
|
|
28 |
<attribute key="cpp-class-name">CAknVolumeSettingItem</attribute>
|
|
29 |
<attribute key="is-setting-item-list-content">true</attribute>
|
|
30 |
<attribute key="setting-item-class-name">CAknVolumeSettingItem</attribute>
|
|
31 |
<attribute key="data-model-cpp-type">TInt</attribute>
|
|
32 |
<attribute key="rss-control-type-enum">EAknCtVolumeControl</attribute>
|
|
33 |
</attributes>
|
|
34 |
|
|
35 |
<properties>
|
|
36 |
<property name="value" category="Data"
|
|
37 |
descriptionKey="valueDescription"
|
|
38 |
type="integer" default="1" minValue="1" maxValue="10"
|
|
39 |
/>
|
|
40 |
</properties>
|
|
41 |
|
|
42 |
<implementations>
|
|
43 |
<implementation>
|
|
44 |
<interface id="com.nokia.sdt.datamodel.adapter.IVisualAppearance"/>
|
|
45 |
<interface id="com.nokia.sdt.datamodel.adapter.IDirectLabelEdit"/>
|
|
46 |
<script file="CAknVolumeSettingItem.js" prototype="CAknVolumeSettingItem"/>
|
|
47 |
</implementation>
|
|
48 |
</implementations>
|
|
49 |
|
|
50 |
<sourceMapping>
|
|
51 |
<mapResource struct="VOLUME" headers="avkon.rh">
|
|
52 |
<mapFixedMember member="flags" value="ESettingsVolumeControl" />
|
|
53 |
<mapSimpleMember property="value" member="value"/>
|
|
54 |
</mapResource>
|
|
55 |
</sourceMapping>
|
|
56 |
|
|
57 |
<sourceGen forms="Dialog Container">
|
|
58 |
|
|
59 |
<useTemplate ids="INIT_FROM_CONTAINER" />
|
|
60 |
<useTemplate ids="INIT_FROM_DIALOG" />
|
|
61 |
<useTemplateGroup ids="CLASS_CONTRIBS" />
|
|
62 |
<useTemplate ids="LAYOUT_CONTROLS" />
|
|
63 |
<useTemplate ids="INIT_FROM_SETTINGS_LIST" />
|
|
64 |
|
|
65 |
<template phase="Initialize" forms="SettingsList"><![CDATA[
|
|
66 |
<% this.setupSettingItem(contribs, 0, instance, ""+instance.properties.value);
|
|
67 |
%>]]> </template>
|
|
68 |
|
|
69 |
<inline>
|
|
70 |
this.getCppSystemIncludes(contribs, [ ]);
|
|
71 |
</inline>
|
|
72 |
|
|
73 |
<useTemplateGroup ids="GenerateCommonControlEvents GenerateStateChangedEvent"/>
|
|
74 |
<useTemplateGroup ids="GenerateRequestingFocusEvent GenerateRequestingExitEvent"/>
|
|
75 |
<useTemplateGroup ids="GenerateRequestingCancelEvent GenerateInteractionRefusedEvent"/>
|
|
76 |
<useTemplateGroup ids="GeneratePrepareFocusTransitionEvent"/>
|
|
77 |
|
|
78 |
<useTemplateGroup ids="GenerateEditingStartedEvent GenerateEditingStoppedEvent"/>
|
|
79 |
|
|
80 |
</sourceGen>
|
|
81 |
|
|
82 |
</component>
|
|
83 |
</componentDefinition>
|
|
84 |
|