7 <title>Context Menus</title> |
7 <title>Context Menus</title> |
8 <link rel="StyleSheet" href="../../book.css" type="text/css"/> |
8 <link rel="StyleSheet" href="../../book.css" type="text/css"/> |
9 </head> |
9 </head> |
10 <body > |
10 <body > |
11 <h2>Context Menus</h2> |
11 <h2>Context Menus</h2> |
12 <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 <a href="../debugger/breakpoints/viewing_breakpoints.htm">Breakpoints</a> view uses commands that differ from the Editor view. </p> |
12 <p> A <i>context menu</i> provides a shortcut to frequently used program commands. To invoke one simply right-click anywhere within a view or directly on a component (list item, icon, etc.). If a context menu is available for the selected item then its options are shown. The menu options available will differ based on the context of the selected item. For example, the <a href="../debugger/breakpoints/viewing_breakpoints.htm">Breakpoints</a> view uses commands that differ from the Editor view. </p> |
13 <p>Sample uses of the context menu for different tasks include:</p> |
13 <p>Sample uses of the context menu for different tasks include:</p> |
14 <ul> |
14 <ul> |
15 <li>Editor views - perform editing functions, format, compare, and a host of other file actions </li> |
15 <li>Editor views - perform editing functions, format, compare, and a host of other file actions </li> |
16 <li><a href="../debugger/views/view_breakpoints.htm">Breakpoints</a> view - enable, disable, remove, or select all breakpoints</li> |
16 <li><a href="../debugger/views/view_breakpoints.htm">Breakpoints</a> view - enable, disable, remove, or select all breakpoints</li> |
17 <li><a href="../debugger/debug/viewing_debug.htm">Debug</a> view - restart, step into, over, or out of routines, terminate or suspend program execution </li> |
17 <li><a href="../debugger/debug/viewing_debug.htm">Debug</a> view - restart, step into, over, or out of routines, terminate or suspend program execution </li> |
18 <li><a href="../debugger/views/view_memory.htm">Memory</a> view - add or remove memory monitors </li> |
18 <li><a href="../debugger/views/view_memory.htm">Memory</a> view - add or remove memory monitors </li> |
19 <li><a href="../projects/views/view_proj_explorer.htm">Project Explorer</a> view - manage projects, build, delete, freeze, run, debug, and other common project commands</li> |
19 <li><a href="../projects/views/view_proj_explorer.htm">Project Explorer</a> view - manage projects, build, delete, freeze, run, debug, and other common project commands</li> |
20 <li><a href="../debugger/views/view_variables.htm">Variables</a> view - enable, disable, find, and change the format or value of variables displayed</li> |
20 <li><a href="../debugger/views/view_variables.htm">Variables</a> view - enable, disable, find, and change the format or value of variables displayed</li> |
|
21 <li>and other views...</li> |
21 </ul> |
22 </ul> |
22 <p class="note"><b>TIP</b> Experiment using the context menu in various views to discover additional capabilities.</p> |
23 <p class="note"><b>TIP</b> Experiment using the context menu in various views to discover additional capabilities.</p> |
23 <p>Figure 1 shows a sample context menu in the Breakpoints view.</p> |
24 <p>Figure 1 shows a sample context menu in the Breakpoints view.</p> |
24 <p align="center"><img src="images/breakpt_popup_menu.png" width="155" height="187" /></p> |
25 <p align="center"><img src="images/breakpt_popup_menu.png" width="247" height="263" /></p> |
25 <p class="figure">Figure 1 - Example context menu in Breakpoints view </p> |
26 <p class="figure">Figure 1 - Example context menu in Breakpoints view </p> |
26 <div class="step"> |
27 <div class="step"> |
27 <h4>Using Context Menus</h4> |
28 <h4>Using Context Menus</h4> |
28 <p>Use context menus to apply context-specific commands to selected items.</p> |
29 <p>Use context menus to apply context-specific commands to selected items.</p> |
29 <ul> |
30 <ul> |