Package Explorer View

The Package Explorer view (in the Java perspective) shows all projects in the workspace using logical Java groupings. Use it as your primary window into the world of your Java source code. Table 24 shows the Package Explorer view's toolbar.

Table 7-16. Package Explorer toolbar

Icon

Description

Go back in the Package Explorer history.

Go forward in the Package Explorer history.

Go up to the parent directory.

Collapse all the expanded trees in this view.

Link selections with the editor.

The Package Explorer view is a much more powerful version of the Navigator view, custom tailored for Java development. The main difference is that the Package Explorer understands Java source directories and packages. For example, suppose your project has a package named a.b.c. You will see the package a.b.c. in the Package Explorer view, while in the Navigator view, you will see the directory tree (a containing b containing c).

Views such as the Package Explorer ...

Get Eclipse IDE Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.