Skip to main content
summaryrefslogtreecommitdiffstats
blob: 8ed379732d488502c3766db8c6cf44ef49eed1b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="en">

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Project Explorer 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>Project Explorer view</h1>
<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.ui.navigator.ProjectExplorer)")'>Project Explorer</a> view displays, in a tree structure similar to the <a href="cdt_u_cproj_view.htm">C/C++ Projects</a> view, but it is not limited to C and C++ projects.  In this view you can do the following: 
<ul>
	<li>Browse the elements of C/C++ source files</li>
	<li>Open files in the editor view</li>
	<li>Open projects in a new window</li>
	<li>Create new projects, classes, files, or folders</li>
	<li>Manage existing files (cut, paste, delete, move or rename)</li>	
	<li>Restore deleted files from local history</li>
	<li>Import or Export files and projects</li>
</ul>

<p>Files that you select in the Project Explorer view  affect the information that is displayed in other views.</p>
<p>Right-click on any resource in the Project Explorer view to open a pop-up menu that allows you to perform operations such as copying, moving, creating new resources, comparing resources with each other, or performing team operations. </p>
<p><img img src="../images/view_project_explorer.png" alt="Project Explorer view"></p>


<h2>Project Explorer toolbar</h2>
<p>The table below lists the toolbar options displayed in the Project Explorer view.</p>

<p><table width="600px" border="1" cellpadding="3" cellspacing="0" bordercolor="#DDDDDD">
	<colgroup>
		<col width="5%" valign="top" >
		<col width="20%" valign="top" >
		<col width="75%" valign="top" >
	</colgroup>
 	<tr>
		<th>Icon</th>
		<th>Name</th>	
		<th>Description</th>
	 </tr>
	<tr>
		<td align="center" valign="top"><img src="../images/icon_con_min.png" alt="Minimize icon"></td>
		<td valign="top"><strong>Minimize</strong></td>
		<td valign="top">Minimizes the view.</td>
	</tr>
	<tr>
		<td align="center" valign="top"><img src="../images/icon_con_max.png" alt="Maximize icon"></td>
		<td valign="top"><strong>Maximize</strong></td>
		<td valign="top">Maximizes the view.</td>
	</tr>
	<tr>
	<tr>
		<td align="center" valign="top"><img src="../images/icon_collapse_all.png" alt="Collapse All Icon"></td>
		<td valign="top"><strong>Collapse All</strong></td>
		<td valign="top">This command collapses the tree expansion state of all resources in the view.</td>
	</tr>
	<tr>
		<td align="center" valign="top"><img src="../images/icon_link_with_editor.png" alt="Link with Editor Icon"></td>
		<td valign="top"><strong>Link with Editor</strong></td>
		<td valign="top">This command toggles whether the view selection is linked to the active editor. 
				When this option is selected, changing the active editor will automatically update the selection to the resource being edited.</td>
	</tr>
	<tr>
		<td align="center" valign="top"><img src="../images/icon_menu.png" alt="Menu Icon"></td>
		<td valign="top"><strong>Menu</strong></td>
		<td valign="top">Click the black upside-down triangle icon to open a menu of items specific to the view.<br><br>
									<dl>
										<p><dt>Top Level Elements</dt>
											<dd>Choose whether to show working sets or projects as top level elements. 
											Choosing working sets allows easy grouping of projects in large workspaces.</dd><p></p>
										<p><dt>Select Working Set</dt>
											<dd>Opens the <strong>Select Working Set</strong> dialog to allow selecting a working set for the view.</dd><p></p>
										<p><dt>Deselect Working Set</dt>
											<dd>Deselects the current working set. </dd><p></p>
										<p><dt>Edit Active Working Set</dt>
											<dd>Opens the <strong>Edit Working Set</strong> dialog to allow changing the current working set.</dd><p></p>
										<p><dt>Package Presentation</dt>
											<dd>Choose to display packages in flat or hierarchical form.</dd><p></p>
										<p><dt>Customize View</dt>
											<dd>This command allows customization of view filters and content modules. 
											The previous will allow you to suppress the display of certain types of files 
											while the later will allow entirely new types of content to be shown in the view.<dd><p></p>
										<p><dt>Link Editor</dt>
											<dd>See the toolbar item description above.</dd><p></p>
									</dl></td>
	</tr>	
</table><p></p>

<p>The Project Explorer view is provided by the Eclipse Platform. See the <a href="../../org.eclipse.platform.doc.user/reference/ref-27.htm">Workbench User Guide</a> for more information.</p>

<h2>Project Explorer view icons</h2>

<p>The table below lists the icons displayed in the Project Explorer view for C/C++ content.</p>

<table border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#DDDDDD" width="34%">
  <tr>
    <td width="19%" align="center"><strong>Icon</strong></td>
    <td width="81%"><strong>Description</strong></td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/c_file_obj.gif" width="16" height="16" alt="C or C++ file icon"></td>
    <td width="81%">C or C++ file</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/c_exe_obj.png" width="16" height="16" alt="Executable file icon"></td>
    <td width="81%">Debuggable executable file</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/c_object_file.png" width="16" height="17" alt="C or C++ object file icon"></td>
    <td width="81%">Object file</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/class_obj.gif" width="16" height="16" alt="Class icon"></td>
    <td width="81%">Class</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/define_obj.gif" width="16" height="16" alt="Macro Definition icon"></td>
    <td width="81%">Macro Definition</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/enum_obj.gif" width="16" height="16" alt="Enum icon"></td>
    <td width="81%">Enum</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/enumerator_obj.gif" width="16" height="16" alt="Enumerator icon"></td>
    <td width="81%">Enumerator</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/var_declaration_obj.gif" width="16" height="16" alt="Variable icon"></td>
    <td width="81%">Variable</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/field_private_obj.gif" width="16" height="16" alt="Field private icon"></td>
    <td width="81%">Field private</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/field_protected_obj.gif" width="16" height="16" alt="Field protected icon"></td>
    <td width="81%">Field protected</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/field_public_obj.gif" width="16" height="16" alt="Field public icon"></td>
    <td width="81%">Field public</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/include_obj.gif" width="16" height="16" alt="Include icon"></td>
    <td width="81%">Include</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/makefile.gif" width="16" height="16" alt="Makefile icon"></td>
    <td width="81%">Makefile</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/method_private_obj.gif" width="16" height="16" alt="Method private icon"></td>
    <td width="81%">Method private</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/method_protected_obj.gif" width="16" height="16" alt="Method protected icon"></td>
    <td width="81%">Method protected</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/method_public_obj.gif" width="16" height="16" alt="Method public icon"></td>
    <td width="81%">Method public</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/namespace_obj.gif" width="16" height="16" alt="Namespace icon"></td>
    <td width="81%">Namespace</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/namespace_declared_obj.png" width="17" height="16" alt="Namespace declared icon"></td>
    <td width="81%">Namespace declared</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/struct_obj.gif" width="16" height="16" alt="Struct icon"></td>
    <td width="81%">Struct</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/typedef_obj.gif" width="16" height="16" alt="Type Definition icon"></td>
    <td width="81%">Type definition</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/union_obj.gif" width="16" height="16" alt="Union icon"></td>
    <td width="81%">Union</td>
  </tr>
  <tr>
    <td width="19%" align="center">
    <img border="0" src="../images/function_obj.gif" width="16" height="16"  alt="Function icon"></td>
    <td width="81%">Function</td>
  </tr>
</table>

<p><img src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br><a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a>
</p>

<p><img 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 Project Explorer view</a>
<br><a href="../Tasks/cdt_t_prvw_hide_files.htm">Hiding files by type in the Project Explorer view</a></p>

<p><img src="../images/ngref.gif" ALT="Related references" width="143" height="21">
<br><a href="../reference/cdt_u_cproj_view.htm">C/C++ Projects view</a></p>

<hr >
<p>
<img img src="../images/ng00_07.gif" ALT="IBM Copyright Statement" >  
</p>

</body>
</html>

Back to the top