From dad671858563fed5bccee9137985095d07e75068 Mon Sep 17 00:00:00 2001 From: "L. Frank Turovich" Date: Sun, 25 Apr 2010 19:18:41 +0000 Subject: [PATCH] [Bug #310371] Revised C/C++ Projects and Project Explorer views --- doc/org.eclipse.cdt.doc.user/contexts_CDT.xml | 4 + .../images/c_exe_obj.png | Bin 0 -> 736 bytes .../images/c_object_file.png | Bin 0 -> 699 bytes .../images/namespace_declared_obj.png | Bin 0 -> 435 bytes doc/org.eclipse.cdt.doc.user/plugin.xml | 6 +- .../reference/cdt_u_cproj_view.htm | 83 +++++++++++------- .../reference/cdt_u_project_explorer_view.htm | 78 ++++++++++------ 7 files changed, 113 insertions(+), 58 deletions(-) create mode 100755 doc/org.eclipse.cdt.doc.user/images/c_exe_obj.png create mode 100755 doc/org.eclipse.cdt.doc.user/images/c_object_file.png create mode 100755 doc/org.eclipse.cdt.doc.user/images/namespace_declared_obj.png diff --git a/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml b/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml index 88b33a9a387..22657e4569d 100644 --- a/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml +++ b/doc/org.eclipse.cdt.doc.user/contexts_CDT.xml @@ -531,4 +531,8 @@ + + The Project Explorer displays project information. + + diff --git a/doc/org.eclipse.cdt.doc.user/images/c_exe_obj.png b/doc/org.eclipse.cdt.doc.user/images/c_exe_obj.png new file mode 100755 index 0000000000000000000000000000000000000000..9f89f36da17c1d31c665a156755bcac04b829d80 GIT binary patch literal 736 zcmeAS@N?(olHy`uVBq!ia0vp^LO?9Q!2~3yr0n1ZQk(@Ik;M!Qd`Cc-ajG_-G*FPe z#M9T6{T7R)kdpRhpT|yMA=ii!$I_CF{33>x>&|!pg?LJULN2Mr$wiq3C7Jno48oj> z%0O{0khpVxL1j^9dPWJu8vZj@Kv6!hXi;h+NU1_eW^O8j>34okpbRHSCOAK>q&%@G zl_9p^KS((@*znBalAKhA74I&oGcYhRc)B=-RLn{K(a+WMch)~) z#u*X;2hY#9f0%Q*L5xj?!S(hR-}7~Uf0@=^Hs<*L`}_MHTQ(XP7)bmy`}gnf@B91f z_t*Um3J8eUo+r!f9N_Qo@9D{@m&;S|-0${}E2?#$Hkbb|kN@>v$X>GP-~a#miF4K^ z%&X&>_{N~8s>HlZ5Z;h@0^#9J@|GV}7miNsz$$fk|Q+j^Zt`Lb|CJQo*Kjxc# z%x{Z$Az}RR*5m)@@BQ8X@5%pz+5f}ke?JwmF1&SYdB!$Fpvm%&qGZ3ndVhca=~Jit za&%MDQ*RW%+Su0h=J)yi`)Yn}DtLH^*_(S~`;)12*8-jV>-+orug~+Ww=>LGapK+K zBWiPjp)(&87WeAk0Ojic{rUO*{rn}KZPT(e<8|KcHeWW#q l;j+q;jH9dqb;`h0lKN_Tp~%l)r-4po@O1TaS?83{1OSsnO5Xqg literal 0 HcmV?d00001 diff --git a/doc/org.eclipse.cdt.doc.user/images/c_object_file.png b/doc/org.eclipse.cdt.doc.user/images/c_object_file.png new file mode 100755 index 0000000000000000000000000000000000000000..29c5bb72797fff8c298fc1a7d6ba660e7d0adf65 GIT binary patch literal 699 zcmeAS@N?(olHy`uVBq!ia0vp^fx>&|!pg?LJULN2Mr$wiq3C7Jno48oj> z%0O{0khpVxL1j^9dPWJu8vZj@Kv6!hXi;h+NU1_eW^O8j>34okpbRHSCOAK>q&%@G zl_9p^KS((@*znBalAKhA74I&oGcYhRc)B=-RLq$hZ0p?=C}Q_r zO|MVrA9J7#Q?_mim(;HfN7675dy?4Fj;z9r4hM~#6$>4gv$;>- z^nI`VbCW%Fd+S6>cNCnjeOG&~@|^8=Bc&$$S%+uk^*wXTlg>&i{hcSEs-(2bZjNcI zl-&C8*++9a-W=0irsT%r(r~5EiNWJR$x3w<;DSk#xgU!Jm7|MTO^8C!dD zif+CvVs1G9TKnmt*onD)F6$;fnmDsBiLFNu+EqRIk3CX4bf$LbCeBm%pFHiAI)%9v??T>dqf4qL| y)65r+-ws7t>?*L^Y&I{M|3m-(!}az?DfbmPxpr)6m>dgq1%s!npUXO@geCy;pAvci literal 0 HcmV?d00001 diff --git a/doc/org.eclipse.cdt.doc.user/images/namespace_declared_obj.png b/doc/org.eclipse.cdt.doc.user/images/namespace_declared_obj.png new file mode 100755 index 0000000000000000000000000000000000000000..0dd626ecc252a3c780425cd4f4672c4d4fd9d0d9 GIT binary patch literal 435 zcmeAS@N?(olHy`uVBq!ia0vp^{2oCO|{#S9F5M?jcysy3fAP>{XE z)7O>#7K@~i2FL3oRlC4Kt`Q}Ur6n2pMGPy~o$&w)@st3CTvCgZi!uvJGV}8oggF(J zf#O^sap(Mk%A(Blj1q=5{Aa9yqI_V{qSQo?QiYPt+*AhB@BExV8BUN)aDG}zd16s2 zLu|o+kaBLY;hDwBIf+1}MGV^yZ0QFIbAW`y6N~aP^U@g(NIz=_im^lVmlh?bGJO5t z{2HdrIX^cyHLrx>+nH(mfnsbRWg(d*IjIaQ-d$1$iqv_!IEGZrnLFtq?-2za7WL&K zPMTAkH1&=y&Cz_CziSl4wV#>RK4I3B%MQA%3Xg96 zRg^C9Z(P~8R`Y#MzW>3lf}1HpS&SWxU0= - + + + C/C++ Project View +

C/C++ Projects view

-

The C/C++ Projects view displays, in a tree structure, only elements relevant to C and C++ project files. In this view you can do the following: +

The C/C++ Project view displays, in a tree structure, only elements relevant to C and C++ project files, similar to the Project Explorer view. In this view you can do the following:

  • Browse the elements of C/C++ source files
  • Open files in the editor view
  • @@ -21,13 +22,20 @@
  • Import or Export files and projects
-Files that you select in the C/C++ Projects view affect the information that is displayed in other views.

+

Files that you select in the C/C++ Projects view affect the information that is displayed in other views.

+

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.

C/C++ Projects View

-

Toolbar

+

C/C++ Projects toolbar

+

The table below lists the toolbar options displayed in the C/C++ Projects view.

-

+

+ + + + + @@ -85,12 +93,6 @@ Files that you select in the C/C++ Projects view affect the information that is
Deselects the current working set.

Edit Active Working Set
Opens the Edit Working Set dialog to allow changing the current working set.

-

Sort
-
This command sorts the resources in the view according to the selected schema:
-
    -
  • By Name:  Resources are sorted alphabetically, according to the full name of the resource (e.g., A.TXT, then B.DOC, then C.HTML, etc.)
  • -
  • By Type:  Resources are sorted alphabetically by file type/extension (e.g., all DOC files, then all HTML files, then all TXT files, etc.).
  • -

Filters
This command allows you to select filters to apply to the view so that you can show or hide various resources as needed. File types selected in the list will not be shown in the C/C++ Projects view.

@@ -105,103 +107,118 @@ Files that you select in the C/C++ Projects view affect the information that is

The table below lists the icons displayed in the C/C++ Projects view.

-
Icon Name
+
- + - - + + + + + + + + - - - - - - - - - - - - - - + + + + - - - @@ -215,7 +232,9 @@ Files that you select in the C/C++ Projects view affect the information that is
Displaying C/C++ file components in the C/C++ Projects view
Hiding files by type in the C/C++ Projects view

- +

Related references +
Project Explorer view

+

Red Hat Copyright Statement
IBM Copyright Statement diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_project_explorer_view.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_project_explorer_view.htm index 9d1286c3d90..e7eb5fe4b85 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_project_explorer_view.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_project_explorer_view.htm @@ -6,11 +6,12 @@ Project Explorer View +

Project Explorer view

-

The Project Explorer view displays, in a tree structure similar to the C/C++ Projects view, but it is not limited to C and C++ projects. In this view you can do the following: +

The Project Explorer view displays, in a tree structure similar to the C/C++ Projects view, but it is not limited to C and C++ projects. In this view you can do the following:

  • Browse the elements of C/C++ source files
  • Open files in the editor view
  • @@ -21,13 +22,20 @@
  • Import or Export files and projects
-Files that you select in the Project Explorer view affect the information that is displayed in other views.

+

Files that you select in the Project Explorer view affect the information that is displayed in other views.

+

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.

Project Explorer view

-

Toolbar

+

Project Explorer toolbar

+

The table below lists the toolbar options displayed in the Project Explorer view.

-

IconIcon Description
+ C or C++ file Icon C or C++ file
+ + Executable file iconDebuggable executable file
+ C or C++ object file iconObject file
Class Icon Class
+ Macro Definition Icon Macro Definition
+ Enum Icon Enum
+ Enumerator Icon Enumerator
+ Variable Icon Variable
+ Field private icon Field private
+ Field protected icon Field protected
+ Field public icon Field public
+ Include icon Include
+ Makefile icon Makefile
+ Method private icon Method private
+ Method protected icon Method protected
+ Method public icon Method public
+ Namespace icon Namespace
+ + Namespace declared iconNamespace declared
Struct icon Struct
+ Type definition icon Type definition
+ Union icon Union
+ Function icon Function
+

+ + + + + @@ -69,6 +77,8 @@ Files that you select in the Project Explorer view affect the information that
Deselects the current working set.

Edit Active Working Set
Opens the Edit Working Set dialog to allow changing the current working set.

+

Package Presentation
+
Choose to display packages in flat or hierarchical form.

Customize View
This command allows customization of view filters and content modules. The previous will allow you to supress the display of certain types of files @@ -85,103 +95,118 @@ Files that you select in the Project Explorer view affect the information that

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

-
Icon Name
+
- + - - + + + + + + + + - - - - - - - - - - - - - - + + + + - - - @@ -195,7 +220,10 @@ Files that you select in the Project Explorer view affect the information that
Displaying C/C++ file components in the Project Explorer view
Hiding files by type in the Project Explorer view

+

Related references +
C/C++ Projects view

+

IBM Copyright Statement

IconIcon Description
+ C or C++ file icon C or C++ file
+ + Executable file iconDebuggable executable file
+ C or C++ object file iconObject file
Class icon Class
+ Macro Definition icon Macro Definition
+ Enum icon Enum
+ Enumerator icon Enumerator
+ Variable icon Variable
+ Field private icon Field private
+ Field protected icon Field protected
+ Field public icon Field public
+ Include icon Include
+ Makefile icon Makefile
+ Method private icon Method private
+ Method protected icon Method protected
+ Method public icon Method public
+ Namespace icon Namespace
+ + Namespace declared iconNamespace declared
Struct icon Struct
+ Type Definition icon Type definition
+ Union icon Union
+ Function icon Function