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 |
|
|
9 |
<componentDefinition xmlns="http://www.nokia.com/sdt/emf/component"
|
|
10 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
11 |
|
|
12 |
<component baseComponent="com.nokia.sdt.series60.NonLayoutBase"
|
|
13 |
friendlyName="%friendlyName"
|
|
14 |
qualifiedName="com.nokia.sdt.series60.SingleLineDataQueryBase"
|
|
15 |
abstract="true"
|
|
16 |
version="1.0">
|
|
17 |
<documentation>
|
|
18 |
<information>%information</information>
|
|
19 |
</documentation>
|
|
20 |
<symbian sdkName="com.nokia.series60" minSDKVersion="2.0"/>
|
|
21 |
<designerImages smallIconFile="SingleLineDataQuery_sm.png"
|
|
22 |
largeIconFile="SingleLineDataQuery.png"/>
|
|
23 |
<attributes>
|
|
24 |
<attribute key="is-transient-object">true</attribute>
|
|
25 |
<attribute key="is-non-resizable-or-moveable-layout-object">true</attribute>
|
|
26 |
<attribute key="is-layout-container">true</attribute>
|
|
27 |
<attribute key="layout-type">ordered</attribute>
|
|
28 |
</attributes>
|
|
29 |
<properties>
|
|
30 |
<compoundProperty category="Hidden" name="location" type="com.nokia.sdt.series60.locationProperty"
|
|
31 |
editorClass="com.nokia.sdt.symbian.ui.editors.ReadOnlySummaryEditorFactory"/>
|
|
32 |
<compoundProperty category="Hidden" name="size" type="com.nokia.sdt.series60.sizeProperty"
|
|
33 |
editorClass="com.nokia.sdt.symbian.ui.editors.ReadOnlySummaryEditorFactory"/>
|
|
34 |
<property category="Data" name="text" type="localizedString" default="Enter value:"
|
|
35 |
descriptionKey="textDescription"
|
|
36 |
editorClass="com.nokia.sdt.symbian.ui.editors.ScalableTextEditorFactory" />
|
|
37 |
<enumProperty category="Data" name="tone" type="com.nokia.sdt.series60.Query.tone"
|
|
38 |
descriptionKey="toneDescription" />
|
|
39 |
</properties>
|
|
40 |
<implementations>
|
|
41 |
<implementation>
|
|
42 |
<interface id="com.nokia.sdt.datamodel.adapter.IVisualAppearance"/>
|
|
43 |
<interface id="com.nokia.sdt.datamodel.adapter.IDirectLabelEdit"/>
|
|
44 |
<interface id="com.nokia.sdt.datamodel.adapter.ILayout"/>
|
|
45 |
<!-- <script file="SingleLineDataQuery.js" prototype="SingleLineDataQueryVisual"/> -->
|
|
46 |
<code class="com.nokia.sdt.series60.component.DataQueryVisualAndLayoutImplFactory"/>
|
|
47 |
</implementation>
|
|
48 |
<implementation>
|
|
49 |
<interface id="com.nokia.sdt.datamodel.adapter.IQueryContainment"/>
|
|
50 |
<interface id="com.nokia.sdt.datamodel.adapter.IComponentInstancePropertyListener"/>
|
|
51 |
<script file="SingleLineDataQuery.js" prototype="SingleLineDataQueryContainment"/>
|
|
52 |
</implementation>
|
|
53 |
<implementation>
|
|
54 |
<interface id="com.nokia.sdt.datamodel.adapter.IInitializer"/>
|
|
55 |
<interface id="com.nokia.sdt.datamodel.adapter.ISetValueCommandExtender"/>
|
|
56 |
<code class="com.nokia.sdt.series60.component.SingleLineDataQueryCodeImplFactory"/>
|
|
57 |
</implementation>
|
|
58 |
</implementations>
|
|
59 |
|
|
60 |
<sourceMapping>
|
|
61 |
<mapResource struct="DIALOG" headers="avkon.rsg avkon.rh eikon.rh">
|
|
62 |
<mapBitmaskMember property="." member="flags" includedProperties="" >
|
|
63 |
<!-- initial blank entry forces bits on -->
|
|
64 |
<mapBitmaskValue properties="" value="EAknGeneralQueryFlags" />
|
|
65 |
</mapBitmaskMember>
|
|
66 |
<mapFixedMember member="buttons" value="R_AVKON_SOFTKEYS_OK_CANCEL" />
|
|
67 |
<mapArrayMember property="." member="items">
|
|
68 |
<mapResourceElement struct="DLG_LINE" headers="avkon.rh" instanceIdentifyingMember="id">
|
|
69 |
<mapEnumMember property="[parent].type" member="type">
|
|
70 |
<mapEnum value="EDataLayout" enumerator="EAknCtQuery"/>
|
|
71 |
<mapEnum value="EPhoneLayout" enumerator="EAknCtQuery"/>
|
|
72 |
<mapEnum value="EPinLayout" enumerator="EAknCtQuery"/>
|
|
73 |
<mapEnum value="ECodeLayout" enumerator="EAknCtQuery"/>
|
|
74 |
<mapEnum value="EDateLayout" enumerator="EAknCtQuery"/>
|
|
75 |
<mapEnum value="ETimeLayout" enumerator="EAknCtQuery"/>
|
|
76 |
<mapEnum value="EDurationLayout" enumerator="EAknCtQuery"/>
|
|
77 |
<mapEnum value="EFloatingPointLayout" enumerator="EAknCtQuery"/>
|
|
78 |
<mapEnum value="ENumberLayout" enumerator="EAknCtQuery"/>
|
|
79 |
<mapEnum value="EFixedPointLayout" enumerator="EAknExtCtQuery"/>
|
|
80 |
<mapEnum value="EIpLayout" enumerator="EAknExtCtQuery"/>
|
|
81 |
</mapEnumMember>
|
|
82 |
<mapEnumMember property="." member="id" uniqueValue="*"
|
|
83 |
nameAlgorithm="com.nokia.sdt.component.symbian.NAME_ALG_DIALOG_LINE_ID" />
|
|
84 |
<mapResourceMember property="." member="control" id="queryControl"
|
|
85 |
struct="AVKON_DATA_QUERY" headers="avkon.rh">
|
|
86 |
<mapEnumMember property="[parent].type" member="layout"/>
|
|
87 |
<mapSimpleMember property="[parent].text" member="label"/>
|
|
88 |
<mapResourceMember property="." member="control" id="control" />
|
|
89 |
</mapResourceMember>
|
|
90 |
</mapResourceElement>
|
|
91 |
</mapArrayMember>
|
|
92 |
</mapResource>
|
|
93 |
</sourceMapping>
|
|
94 |
|
|
95 |
</component>
|
|
96 |
|
|
97 |
</componentDefinition>
|