2003-11-28 21:50:02 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
< 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" >
2004-05-10 14:38:08 +00:00
< script language = "JavaScript" >
2004-04-28 17:02:19 +00:00
function changeSize(theImage,wd,ht) {
wdth=parseInt(theImage.style.width); hght=parseInt(theImage.style.height);
if ( !(wdth==(wd*2)) ) {wdth=wd*2; hght=ht*2;}
else {wdth=wd;hght=ht;}
theImage.style.width=wdth; theImage.style.height=hght;
}
< / script >
2003-11-28 21:50:02 +00:00
< / head >
< body >
< h1 > Outline view < / h1 >
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 >
2004-04-28 17:02:19 +00:00
< img src = "../images/outlineView.png" width = "429" height = "156" onClick = "changeSize(this,429,156);"
alt="Screen capture detailing a sample application in the editor with corrisponding element in the Outline View" title="click to toggle image size">< / 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 > C or C++ file< / li >
< li > Class< / li >
< li > Namespace< / li >
< li > Include< / li >
< li > Enum< / li >
< li > Enumerator< / li >
< li > Field< / 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-04-19 14:57:01 +00:00
< li > Method public struct< / li >
2003-11-28 21:50:02 +00:00
< li > Type definition< / li >
< li > Union< / li >
< li > Variable< / li >
< / 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 >
2004-04-19 14:57:01 +00:00
< p > For more information about the marker bar, see < b > Workbench User Guide > Reference > User interface
2003-11-28 21:50:02 +00:00
information > Views and editors > Editor area< / b > .< / p >
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 >
< / ul >
2004-04-19 14:57:01 +00:00
< h2 > Icons< / h2 >
< p > < table border = "1" >
< tr >
< td > < img src = "../images/outlineView-hideFields.png" border = "0" width = "22" height = "22" alt = "Hide Fields Button" > < / td >
< td > Hide Fields < / td >
< / tr >
< tr >
< td > < img src = "../images/outlineView-hideStaticMembers.png" border = "0" width = "22" height = "22" alt = "Hide Static Members Button" > < / td >
< td > Hide Static Members < / td >
< / tr >
< tr >
< td > < img src = "../images/outlineView-hideNon-PublicMembers.png" border = "0" width = "22" height = "22" alt = "Hide Non Public Members Button" > < / td >
< td > Hide Non-Public Members < / td >
< / tr >
< tr >
< td > < img src = "../images/outlineView-Sort.png" border = "0" width = "22" height = "22" alt = "Sort Button" > < / td >
< td > Sort < / td >
< / tr >
< / table > < / p >
< p > For more information about the Eclipse workbench, see < b > Workbench User Guide > Tasks > Upgrading Eclipse< / b > .< / p >
< p > For more information about Working sets, see < b > Workbench User Guide > Concepts > Working sets< / b > .< / p >
2003-11-28 21:50:02 +00:00
< / ul >
< p > < img border = "0" src = "../images/ngconcepts.gif" ALT = "Related concepts" width = "143" height = "21" >
< 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 >
< a href = "cdt_c_open_declarations.htm" > Open Declarations< / a > < br >
< / p >
< p > < img border = "0" src = "../images/ngtasks.gif" ALT = "Related tasks" width = "143" height = "21" >
< br >
< a href = "../tasks/cdt_t_show_proj_files.htm" > Displaying C/C++ file components in the
C/C++ Projects view< / a > < br >
< a href = "../tasks/cdt_t_search.htm" > Searching for C/C++ elements< / a > < / p >
< p > < img border = "0" src = "../images/ngref.gif" ALT = "Related reference" width = "143" height = "21" >
< br >
< a href = "../reference/cdt_u_outlineview.htm" > Outline view< / a > < br >
< / p >
2003-12-19 20:47:29 +00:00
< img src = "../images/ng03_04.gif" ALT = "IBM Copyright Statement" BORDER = 0 width = "324" height = "14" >
2003-11-28 21:50:02 +00:00
< / body >
< / html >