1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

[Bug 310371] Revised Type Hierarchy, Call Hierarchy, and Include Browser views

This commit is contained in:
L. Frank Turovich 2010-04-29 01:27:27 +00:00
parent c8835a2f95
commit 201fedbc95
13 changed files with 157 additions and 115 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -17,7 +17,7 @@
<img src="../images/trans.gif" border="0" width="100" height="1" alt=""><a style="text-decoration:none" href="cdt_u_console_view.htm">Console view</a><br>
<img src="../images/trans.gif" border="0" width="100" height="1" alt=""><a style="text-decoration:none" href="cdt_u_cproj_view.htm">C/C++ Projects view</a><br>
<img src="../images/trans.gif" border="0" width="100" height="1" alt=""><a style="text-decoration:none" href="cdt_u_editor_view.htm">Editor view</a><br>
<img src="../images/trans.gif" border="0" width="100" height="1" alt=""><a style="text-decoration:none" href="cdt_u_view_execules.htm">Execules view</a><br>
<img src="../images/trans.gif" border="0" width="100" height="1" alt=""><a style="text-decoration:none" href="cdt_u_view_executables.htm">Executables view</a><br>
<img src="../images/trans.gif" border="0" width="100" height="1" alt=""><a style="text-decoration:none" href="cdt_u_project_explorer_view.htm">Project Explorer view</a><br>
<img src="../images/trans.gif" border="0" width="100" height="1" alt=""><a style="text-decoration:none" href="cdt_u_outline_view.htm">Outline view</a><br>
<img src="../images/trans.gif" border="0" width="100" height="1" alt=""><a style="text-decoration:none" href="cdt_u_make_targets_view.htm">Make Targets view</a><br>

View file

@ -6,12 +6,13 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Call Hierarchy view</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<body>
<h1>Call Hierarchy view</h1>
<p>The <strong>Call Hierarchy</strong> view shows the loaded callers and callees for a selected C/C++ function. Right-click a function name in a source file and select <strong>Open Call Hierarchy</strong> to open a Call Hierarchy view, if none is open, and show the function's callers.</p>
<p>The <img src="../images/command_link.png" border="0" alt="" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.cdt.ui.callHierarchy)")'>Call Hierarchy</a> view shows the loaded callers and callees for a selected C/C++ function. Right-click a function name in a source file and select <strong>Open Call Hierarchy</strong> to open a Call Hierarchy view, if none is open, and show the function's callers.</p>
<p><img src="../images/view_call_hierarchy.png" alt="Call Hierarchy view" ></p>
@ -26,42 +27,42 @@
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_show_next_reference.png" alt="Show Next Reference icon"></div></td>
<td valign="top">Show Next Reference</td>
<td valign="top"><strong>Show Next Reference</strong></td>
<td valign="top">Selects the next function.</td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_show_prev_reference.png" alt="Show Previous Reference icon" ></div></td>
<td valign="top">Show Previous Reference</td>
<td valign="top"><strong>Show Previous Reference</strong></td>
<td valign="top">Selects the previous function.</td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_hide_variables_more.png" alt="Hide Variables, Constants and Enumerators icon" ></div></td>
<td valign="top">Hide Variables, Constants and Enumerators</td>
<td valign="top"><strong>Hide Variables, Constants and Enumerators</strong></td>
<td valign="top">Toggle to show or hide all variables, constants and enumerators in the view.</td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_show_callers.png" alt="Show Callers icon" ></div></td>
<td valign="top">Show Callers</td>
<td valign="top"><strong>Show Callers</strong></td>
<td valign="top">Show all callers in the search scope of the selected function.</td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_show_callees.png" alt="Show Callees icon" ></div></td>
<td valign="top">Show Callees</td>
<td valign="top"><strong>Show Callees</strong></td>
<td valign="top">Show all members called by the currently selected function.</td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_show_history_list.png" alt="Show History List icon" ></div></td>
<td valign="top">Show History List</td>
<td valign="top"><strong>Show History List</strong></td>
<td valign="top">This menu displays a history of previously displayed call hierarchies.</td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_refresh_view_contents.png" alt="Refresh View Contents icon" ></div></td>
<td valign="top">Refresh View Contents</td>
<td valign="top"><strong>Refresh View Contents</strong></td>
<td valign="top">Refreshes the view to reflect the current state of the function.</td>
</tr>
<tr>
<td valign="top"><div align="center"><img src="../images/icon_menu_white.png" alt="Menu icon" ></div></td>
<td valign="top">Menu</td>
<td valign="top"><strong>View Menu</strong></td>
<td valign="top">Provides commands for: <ul><li>Using working sets</li>
<li>Showings Callers or Callees</li>
<li>Show or hide file names</li>
@ -78,27 +79,27 @@
<td width="75%"><div align="center"><strong>Description</strong></div></td>
</tr>
<tr>
<td valign="top">Show Reference</td>
<td valign="top"><strong>Show Reference</strong></td>
<td valign="top">Opens an editor view containing the referenced function call.</td>
</tr>
<tr>
<td valign="top">Open</td>
<td valign="top"><strong>Open</strong></td>
<td valign="top">Opens an editor view containing the function reference.</td>
</tr>
<tr>
<td valign="top">Focus on</td>
<td valign="top"><strong>Focus on</strong></td>
<td valign="top">Resets the view to show the selected function.</td>
</tr>
<tr>
<td valign="top">Refactor...</td>
<td valign="top"><strong>Refactor...</strong></td>
<td valign="top">Opens the <strong>Rename global function</strong> dialog.</td>
</tr>
<tr>
<td valign="top">Declarations</td>
<td valign="top"><strong>Declarations</strong></td>
<td valign="top">Search the workspace, project, or working set for all function declarations and shows the result in the Search view.</td>
</tr>
<tr>
<td valign="top">References</td>
<td valign="top"><strong>References</strong></td>
<td valign="top">Search the workspace, project, or working set for all function references and shows the result in the <strong>Search</strong> view.</td>
</tr>
</table>
@ -107,6 +108,7 @@
<a href="../concepts/cdt_c_dbg_info.htm">Debug information</a></p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> <br>
<a href="cdt_o_views.htm">Views</a></p>
<hr />
<img src="../images/nokiaCopyright.png" alt="Nokia Copyright Statement" >
</body>

View file

@ -1,20 +1,20 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2008. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2008. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>
Include Browser View
</title>
<title>Include Browser View</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<body>
<h1>
Include Browser View
Include Browser view
</h1>
<p>
This view shows the include relationships between source and header files.
The <img src="../images/command_link.png" border="0" alt="" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.cdt.ui.includeBrowser)")'>Include Browser</a> view shows the <tt>&lt;include&gt;</tt> and <tt>#include</tt> relationships between source and header files.
</p>
<p><img src="../images/view_include_browser.png" border="0" alt="Include Browser view" /></p>
<h2 class="Head">
Include Browser toolbar buttons
</h2>
@ -22,27 +22,25 @@
The Include Browser tree shows files included by the focused file or files including the focused file depending on the selection made in the
toolbar.
</p>
<table border="1" cellspacing="0" cellpadding="5" width="100%" summary="Includes viewer">
<thead>
<tr>
<th>
<p>
Command
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr>
</thead>
<table border="1" cellspacing="0" cellpadding="4" width="600px" bordercolor="#DDDDDD" >
<caption><strong>Include Browser Toolbar Options</strong></caption>
<colgroup>
<col width="5%" valign="top" >
<col width="30%" valign="top" >
<col width="65%" valign="top" >
</colgroup>
<tr>
<th>Icon</th>
<th>Name</th>
<th>Description</th>
</tr>
<tbody>
<tr>
<td valign="top" align="center"><img src="../images/icon_next.png" border="0" alt="Show Next Include icon" /></td>
<td valign="top">
<p>
<p><strong>
Show Next Include
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -51,10 +49,11 @@
</td>
</tr>
<tr>
<td valign="top" align="center"><img src="../images/icon_previous.png" border="0" alt="Show Previous Include icon" /></td>
<td valign="top">
<p>
<p><strong>
Show Previous Include
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -63,10 +62,11 @@
</td>
</tr>
<tr>
<td valign="top" align="center"><img src="../images/icon_hide_sys_includes.png" border="0" alt="Hide System Includes icon" /></td>
<td valign="top">
<p>
<p><strong>
Hide System Includes
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -75,10 +75,11 @@
</td>
</tr>
<tr>
<td valign="top" align="center"><img src="../images/icon_hide_inactive_includes.png" border="0" alt="Hide Inactive Code Includes icon" /></td>
<td valign="top">
<p>
<p><strong>
Hide Includes from Inactive Code
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -87,10 +88,11 @@
</td>
</tr>
<tr>
<td valign="top" align="center" ><img src="../images/icon_show_callers.png" border="0" alt="Show Includes icon" /></td>
<td valign="top">
<p>
<p><strong>
Show Includers
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -99,10 +101,11 @@
</td>
</tr>
<tr>
<td valign="top" align="center"><img src="../images/icon_show_callees.png" border="0" alt="Show Included Files icon" /></td>
<td valign="top">
<p>
<p><strong>
Show Included Files
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -111,10 +114,11 @@
</td>
</tr>
<tr>
<td valign="top" align="center"><img src="../images/history_list.gif" border="0" alt="Show History List icon" /></td>
<td valign="top">
<p>
<p><strong>
Show History List
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -123,10 +127,11 @@
</td>
</tr>
<tr>
<td valign="top" align="center"><img src="../images/refresh_nav.gif" border="0" alt="Refresh icon" /></td>
<td valign="top">
<p>
<p><strong>
Refresh View Content
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -134,11 +139,35 @@
</p>
</td>
</tr>
<tr>
<td valign="top" align="center"><img src="../images/icon_menu.png" border="0" alt="Menu icon" /></td>
<td valign="top">
<p><strong>
View Menu
</p></strong>
</td>
<td valign="top">
<p>
Shows additional options to manage the Include Browser view including: <br />
<ul>
<li>Select Working Set...</li>
<li>Deselect Working Set</li>
<li>Edit Active Working Set...</li>
<li>Show Includers</li>
<li>Show Files Included</li>
<li>Hide System Includes</li>
<li>Hide Inactive Includes</li>
</ul>
</p>
</td>
</tr>
</tbody>
</table>
<p>
<img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> <br>
<a href="cdt_o_views.htm">Views</a>
</p>
<hr />
<img src="../images/nokiaCopyright.png" alt="Nokia Copyright Statement" >
</body>
</html>

View file

@ -1,19 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2008. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2008. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>
Type Hierarchy View
</title>
<title>Type Hierarchy View</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js"></script>
</head>
<body>
<h1>
Type Hierarchy View
Type Hierarchy view
</h1>
<p>
This view shows the hierarchy of a type. The Type Hierarchy view consists of two panes:
The <img src="../images/command_link.png" border="0" alt="" /> <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.cdt.ui.typeHierarchy)")'>Type Hierarchy</a> view shows a tree display of the selected type or method. The <strong>Type Hierarchy</strong> view consists of two panes:
</p>
<ul>
<li>
@ -24,33 +24,31 @@
</li>
</ul>
<h2 class="Head">
Type Hierarchy tree pane toolbar buttons
Type Hierarchy view toolbar
</h2>
<p>
The type hierarchy tree shows supertypes, suptypes or both of a given type depending on the selection made in the
The type hierarchy tree shows supertypes, subtypes or both of a given type depending on the selection made in the
toolbar.
</p>
<table border="1" cellspacing="0" cellpadding="5" width="100%" summary="Hierarchy viewer">
<thead>
<tr>
<th>
<p>
Command
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr>
</thead>
<table border="1" cellspacing="0" cellpadding="4" width="600px" bordercolor="#DDDDDD" >
<caption><strong>Type Hierarchy Toolbar Options</strong></caption>
<colgroup>
<col width="5%" valign="top" >
<col width="20%" valign="top" >
<col width="75%" valign="top" >
</colgroup>
<tr>
<th>Icon</th>
<th>Command</th>
<th>Description</th>
</tr>
<tbody>
<tr>
<td align="center"><img src="../images/hierarchy_co.gif" border="0" alt="Show Hierarchy icon" /></td>
<td valign="top">
<p>
<p><strong>
Show the Type Hierarchy
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -59,10 +57,11 @@
</td>
</tr>
<tr>
<td align="center"><img src="../images/super_co.gif" border="0" alt="Show Supertype Hierarchy icon" /></td>
<td valign="top">
<p>
<p><strong>
Show the Supertype Hierarchy
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -73,10 +72,11 @@
</td>
</tr>
<tr>
<td align="center"><img src="../images/sub_co.gif" border="0" alt="Show Subtype Hierarchy icon" /></td>
<td valign="top">
<p>
<p><strong>
Show the Subtype Hierarchy
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -87,10 +87,11 @@
</td>
</tr>
<tr>
<td align="center"><img src="../images/history_list.gif" border="0" alt="History List icon" /></td>
<td valign="top">
<p>
<p><strong>
Show History List
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -99,10 +100,11 @@
</td>
</tr>
<tr>
<td align="center"><img src="../images/refresh_nav.gif" border="0" alt="Refresh icon" /></td>
<td valign="top">
<p>
<p><strong>
Refresh
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -111,10 +113,11 @@
</td>
</tr>
<tr>
<td align="center"><img src="../images/progress_stop.gif" border="0" alt="Cancel icon" /></td>
<td valign="top">
<p>
<p><strong>
Cancel
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -123,14 +126,25 @@
</td>
</tr>
<tr>
<td valign="top" align="center"><img src="../images/icon_menu.png" border="0" alt="Menu icon" /></td>
<td valign="top">
<p>
Layout &gt; Hierarchy View Only
</p>
<p><strong>
View Menu
</p></strong>
</td>
<td valign="top">
<p>
Hides the member list pane.
Shows additional options to manage the Type Hierarchy view including: <br />
<ul>
<li>Select Working Set...</li>
<li>Deselect Working Set</li>
<li>Edit Active Working Set...</li>
<li>Type Hierarchy</li>
<li>Supertype Hierarchy</li>
<li>Subtype Hierarchy</li>
<li>Layout</li>
<li>Show File Names</li>
</ul>
</p>
</td>
</tr>
@ -142,27 +156,22 @@
<p>
The member list pane displays the members of the currently selected type in the type hierarchy tree pane.
</p>
<table border="1" cellspacing="0" cellpadding="5" width="100%" summary="Member viewer">
<thead>
<tr>
<th>
<p>
Command
</p>
</th>
<th>
<p>
Description
</p>
</th>
</tr>
</thead>
<table border="1" cellspacing="0" cellpadding="4" width="600px" bordercolor="#DDDDDD" >
<caption><strong>Type Hierarchy Member Options</strong></caption>
<colgroup>
<col width="20%" valign="top" >
<col width="75%" valign="top" >
</colgroup>
<tr>
<th>Command</th>
<th>Description</th>
</tr>
<tbody>
<tr>
<td valign="top">
<p>
<p><strong>
Show All Inherited Members
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -173,9 +182,9 @@
</tr>
<tr>
<td valign="top">
<p>
<p><strong>
Hide Fields
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -185,9 +194,9 @@
</tr>
<tr>
<td valign="top">
<p>
<p><strong>
Hide Static Fields and Methods
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -197,9 +206,9 @@
</tr>
<tr>
<td valign="top">
<p>
<p><strong>
Hide Non-Public Members
</p>
</p></strong>
</td>
<td valign="top">
<p>
@ -213,5 +222,7 @@
<img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21"> <br>
<a href="cdt_o_views.htm">Views</a>
</p>
<hr />
<img src="../images/nokiaCopyright.png" alt="Nokia Copyright Statement" >
</body>
</html>