2011-03-31 13:59:18 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2003-11-28 21:50:02 +00:00
< html lang = "en" >
< head >
2004-04-19 14:57:01 +00:00
< meta http-equiv = "Content-Language" content = "en-us" >
< meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" >
< title > Outline view< / title >
< link rel = "stylesheet" type = "text/css" href = "../help.css" >
2003-11-28 21:50:02 +00:00
< / head >
< body >
2012-09-19 17:16:24 -04:00
< div role = "main" >
< h1 > Outline view < / h1 >
2003-11-28 21:50:02 +00:00
2004-04-19 14:57:01 +00:00
< p > The Outline view displays an outline of a structured C/C++ file that is currently
open in the editor area, by listing the structural elements. < / p >
2010-05-12 14:22:25 +00:00
< img src = "../images/outlineView.png" alt = "Editor View highlighting corresponding element in the Outline View" > < / li >
2003-11-28 21:50:02 +00:00
< p > The Outline view shows the following elements in the source file in the order
in which they occur:< / p >
< ul >
< li > Class< / li >
< li > Namespace< / li >
< li > Include< / li >
< li > Enum< / li >
< li > Enumerator< / li >
< li > Field private< / li >
< li > Field protected< / li >
< li > Field public< / li >
< li > Include< / li >
< li > Method private< / li >
< li > Method protected< / li >
2004-06-21 10:33:03 +00:00
< li > Method public< / li >
< li > Struct< / li >
2004-06-24 10:49:13 +00:00
< li > Typedef< / li >
2003-11-28 21:50:02 +00:00
< li > Union< / li >
< li > Variable< / li >
2004-06-21 10:33:03 +00:00
< li > Function< / li >
< li > Macro Definition< / li >
2003-11-28 21:50:02 +00:00
< / ul >
< p > You can also sort the list
alphabetically. When you select an element in the Outline view, the C/C++
2004-04-19 14:57:01 +00:00
editor highlights both the selected item and the marker bar (left margin). For example, to move
2003-11-28 21:50:02 +00:00
to the start of main() in the C/C++ editor, click < samp > main()< / samp > in the Outline
view.< / p >
2010-03-31 01:34:27 +00:00
< p > For more information about the marker bar, see < strong > Workbench User Guide > Reference > User interface
information > Views and editors > Editor area< / strong > .< / p >
2003-11-28 21:50:02 +00:00
2004-06-02 19:01:38 +00:00
< h2 > Filtering the Outline View< / h2 >
2003-11-28 21:50:02 +00:00
< p > You can filter the Outline view by choosing to display or hide the following
items:< / p >
< ul >
< li > Fields< / li >
< li > Static members< / li >
< li > Non-public members< / li >
< / ul >
2004-04-19 14:57:01 +00:00
< p > You can select an element in the Outline view, and perform the following actions:< / p >
2003-11-28 21:50:02 +00:00
< ul >
2004-04-19 14:57:01 +00:00
< li > Open the C/C++ Search window box. The Search string box is populated and
2003-11-28 21:50:02 +00:00
the element type is selected.< / li >
< li > Complete a text-based search, of a workspace or a specified working set for the
selected element.< / li >
< li > Open a selected .h file in the editor.< / li >
2004-06-21 10:33:03 +00:00
< li > Rename Refactor< / li >
2003-11-28 21:50:02 +00:00
< / ul >
2004-04-19 14:57:01 +00:00
< h2 > Icons< / h2 >
2012-01-03 00:01:59 -05:00
< p > < table border = "1" cellpadding = "5" cellspacing = "0" style = "border-collapse: collapse" bordercolor = "#DDDDDD" width = "34%" >
< tr >
< th style = "width:19%" id = "icon" > < strong > Icon< / strong > < / th >
< th style = "width:81%" id = "description" > < strong > Description< / strong > < / th >
< / tr >
< tr >
< td style = "text-align:center;" headers = "icon" > < img src = "../images/icon_collapse_all.png" alt = "Collapse All Icon" width = "16" height = "16" > < / td >
< td headers = "description" > Collapse All< / td >
< / tr >
< tr >
< td style = "text-align:center;" headers = "icon" > < img src = "../images/alphab_sort_co.gif" alt = "Sort items alphabetically Icon" width = "16" height = "16" > < / td >
< td headers = "description" > Sort items alphabetically< / td >
< / tr >
< tr >
< td style = "text-align:center;" headers = "icon" > < img src = "../images/fields_co.gif" alt = "Hide Fields Icon" width = "16" height = "16" > < / td >
< td headers = "description" > Hide Fields< / td >
< / tr >
< tr >
< td style = "text-align:center;" headers = "icon" > < img src = "../images/static_co.gif" alt = "Hide Static Members Icon" width = "16" height = "16" > < / td >
< td headers = "description" > Hide Static Members < / td >
< / tr >
< tr >
< td style = "text-align:center;" headers = "icon" > < img src = "../images/public_co.gif" alt = "Hide Non-Public Members Icon" width = "16" height = "16" > < / td >
< td headers = "description" > Hide Non-Public Members < / td >
< / tr >
< tr >
< td style = "text-align:center;" headers = "icon" > < img src = "../images/icon_hide_inactive_includes.png" alt = "Hide Inactive Elements Icon" width = "16" height = "16" > < / td >
< td headers = "description" > Hide Inactive Elements < / td >
< / tr >
2004-04-19 14:57:01 +00:00
< / table > < / p >
2010-03-31 01:34:27 +00:00
< p > For more information about the Eclipse workbench, see < strong > Workbench User Guide > Tasks > Upgrading Eclipse< / strong > .< / p >
< p > For more information about Working sets, see < strong > Workbench User Guide > Concepts > Working sets< / strong > .< / p >
2003-11-28 21:50:02 +00:00
< / ul >
2011-03-31 13:59:18 +00:00
< p > < img src = "../images/ngconcepts.gif" ALT = "Related concepts" width = "143" height = "21" >
2003-11-28 21:50:02 +00:00
< br >
< a href = "cdt_c_comments.htm" > Comments< / a > < br >
< a href = "cdt_c_content_assist.htm" > Content Assist and code completion< / a > < br >
< a href = "cdt_c_search.htm" > C/C++ search< / a > < br >
2007-06-14 15:58:09 +00:00
< a href = "cdt_c_open_declarations.htm" > Open Declaration< / a > < br >
2003-11-28 21:50:02 +00:00
< / p >
2011-03-31 13:59:18 +00:00
< p > < img src = "../images/ngtasks.gif" ALT = "Related tasks" width = "143" height = "21" >
2003-11-28 21:50:02 +00:00
< br >
< a href = "../tasks/cdt_t_show_proj_files.htm" > Displaying C/C++ file components in the
2009-06-16 21:38:17 +00:00
Project Explorer view< / a > < br >
2003-11-28 21:50:02 +00:00
< a href = "../tasks/cdt_t_search.htm" > Searching for C/C++ elements< / a > < / p >
2011-03-31 13:59:18 +00:00
< p > < img src = "../images/ngref.gif" ALT = "Related reference" width = "143" height = "21" >
2003-11-28 21:50:02 +00:00
< br >
2004-06-24 20:26:35 +00:00
< a href = "../reference/cdt_u_outline_view.htm" > Outline view< / a > < br >
2003-11-28 21:50:02 +00:00
< / p >
2007-06-14 15:58:09 +00:00
< img src = "../images/ng00_07.gif" ALT = "IBM Copyright Statement" >
2012-09-19 17:16:24 -04:00
< / div >
2003-11-28 21:50:02 +00:00
< / body >
< / html >