1.5.7. Views

A view is a presentation of data/information. Let’s take an example:

1.5.7.1. Project Explorer

One of views shown in previous section is the Project Explorer view. It gives a tailored presentation of the file system. Why tailored? It’s little different from exactly what’s present on the file system. You can also customize the view.

This is how a normal Project Explorer looks.

../../_images/e-prj-explr.png

Here is an explanation on the meaning of the icons on top right corner of the view.

  1. Minimize the display of all projects in this view.

  2. Link the editor with this view. e.g. if file.rtf is opened in editor the project explorer would select that file automatically.

    This is useful if we want to find where the opened file is physically present within the project.

  3. Enable MyLyn for this view. [1]

  4. Access to further options

  5. Minimize this view (And all views stacked behind)

  6. Maximize this view (and all views stacked behind) in Eclipse window

Click on Button 4. A menu like this will pop up.

../../_images/e-prj-explr-custz-view.png

Uncheck the .resources ( pointed by the arrow.)

../../_images/e-prj-explr-cust.png

Now, you can see the hidden files with (a leading .) In this case, the .project

../../_images/e-prj-expr-with-hidden-files.png

1.5.7.2. Open a view

Eclipse has many internal views. (The added plugins can contribute to more views). A view can be opened as wished. The available basic views can be opened from Window → Show View. More entries can be found from Window → Show View → Other or the keyboard shortcut Alt + Shift + Q, Q

[1]Mylyn is a task-focused interface for Eclipse that reduces information overload and makes multitasking easy. More at http://www.eclipse.org/mylyn/