core/com.nokia.carbide.cpp.doc.user/html/concepts/contextual_menus.htm
author Deepak Modgil <Deepak.Modgil@Nokia.com>
Fri, 03 Apr 2009 23:33:03 +0100
changeset 0 fb279309251b
child 302 8ad872e05db4
permissions -rw-r--r--
DP tools release version Revision: 200912

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Context Menus</title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h2>Context Menus</h2>
<p>  A context menu provides a shortcut to frequently used menu commands. The available menu commands change, based on the context of the selected item. For example, the Breakpoints view uses commands that differ from the Editor view. </p>
<p>Sample uses of the context menu for different tasks include:</p>
<ul>
  <li>Editor views - perform editing functions, format, compare, and a host of other file actions </li>
  <li><a href="../reference/view_breakpoints.htm">Breakpoints</a> view - enable, disable, remove, or select all breakpoints</li>
  <li><a href="../reference/view_debug.htm">Debug</a> view - restart, step into, over, or out of routines, terminate or suspend program execution </li>
  <li><a href="../reference/view_variables.htm">Variables</a> view - enable, disable, find, and change  the format or value of variables displayed</li>
  <li><a href="../reference/view_memory_wnd.htm">Memory</a> view - add or remove memory monitors </li>
</ul>
<p class="note"><b>TIP</b> Experiment using the context menu in various views to discover additional capabilities.</p>
<p>Figure 1 shows a sample context menu in the Breakpoints view.</p>
<p align="center"><img src="images/breakpt_popup_menu.png" width="155" height="187" /></p>
<p class="figure">Figure 1 - Context menu in Breakpoints view </p>
<div class="step">
  <h4>Using Context Menus</h4>
  <p>Use context menus to apply context-specific commands to selected items.</p>
  <ul>
    <li>Right-click or click and hold on an item to open a context menu</li>
  </ul>
    <blockquote>
      <p>The context menu appears, displaying menu commands applicable to the selected item or view.
    
  </p>
    </blockquote>
</div>
  <h5>Related References</h5>
  <ul>
    <li><a href="../reference/menus/menus.htm">Menus</a></li>
  </ul>
  <div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>

</body>
</html>