|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-8F04D882-B846-4A0D-B858-15FDA85758FA" xml:lang="en"><title>Displaying |
|
13 commands in a context menu </title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>To use a stylus pop-up menu in your application, implement the following |
|
15 use cases: </p> |
|
16 <ul> |
|
17 <li><p><xref href="GUID-D0F6E95B-B35A-4EA1-8CC3-D86D1E0E6DD3.dita">Creating stylus |
|
18 pop-up menu</xref> </p></li> |
|
19 <li><p><xref href="GUID-405F7AB8-0F0E-4171-95E6-3524D76917DE.dita">Handling stylus |
|
20 pop-up menu events and commands</xref></p></li> |
|
21 <li><p><xref href="GUID-2045A3D6-88DB-41ED-905B-079A8DC35E24.dita">Handling user |
|
22 command selection</xref></p></li> |
|
23 <li><p><xref href="GUID-4A66B46E-8A23-42E4-ADAD-B124A36B180A.dita">Showing and |
|
24 hiding stylus pop-up menu</xref></p></li> |
|
25 <li><p><xref href="GUID-7B863846-7666-4FBF-90B2-52F847710C45.dita">Adding and removing |
|
26 menu items</xref></p></li> |
|
27 </ul> |
|
28 <p><draft-comment time="2008-05-15T13:43" translate="no">We need to provide more clarity |
|
29 on the required order of implementing the use cases and clarify whether there |
|
30 are alternative approaches for achieving the same results.</draft-comment></p> |
|
31 <p>The following use cases are optional, allowing you to set additional properties |
|
32 for your stylus pop-up menu: </p> |
|
33 <ul> |
|
34 <li><p><xref href="GUID-D932955F-30AA-40C7-9653-63E48C38BECB.dita">Setting stylus |
|
35 pop-up menu position</xref></p></li> |
|
36 <li><p><xref href="GUID-494AF38D-CE0C-4B4C-BE44-2FC7482F4B7B.dita">Hiding and showing |
|
37 stylus pop-up menu items</xref></p></li> |
|
38 </ul> |
|
39 <section><title>Implementation file</title><p>The implementation file for |
|
40 the Stylus pop-up menu API is <xref href="jar:GUID-759FBC7F-5384-4487-8457-A8D4B76F6AA6.jar!/html/aknstyluspopupmenu_8h-source.html" format="application/java-archive"><codeph>aknstyluspopupmenu.h</codeph></xref>.</p></section> |
|
41 </conbody><related-links> |
|
42 <link href="GUID-B8BCC4F0-7F55-4728-B7EA-3280CA822C91.dita"><linktext>Stylus pop-up |
|
43 menu API description</linktext></link> |
|
44 <link href="GUID-C4E728B4-3E84-49A4-83CB-DF146420D78A.dita"><linktext>Look and |
|
45 feel guidelines for the stylus pop-up menu</linktext></link> |
|
46 </related-links></concept> |