Package Explorer view

The Package Explorer view, shown by default in the Java perspective, shows the Java element hierarchy of the Java projects in your workbench. It provides you with a Java-specific view of the resources shown in the Navigator. The element hierarchy is derived from the project's build paths.

For each project, its source folders and referenced libraries are shown in the tree. You can open and browse the contents of both internal and external JAR files. Opening a Java element inside a JAR opens the CLASS file editor, and if there is a source attachment for the JAR file, its corresponding source is shown.

Toolbar buttons

Toolbar buttons

Button

Command

Description

Back button

Back

Navigates to the most recently-displayed state of the view with a different element at the top level.

Forward button

Forward

Navigates to the state of the view with a different element at the top level that was displayed immediately after the current state.

Up button

Up

Navigates to the parent container of the package that is currently displayed at the top level in the view.

Hide Fields button

Hide Fields

Shows or hides the fields.

Hide Static Members button

Hide Static Members

Shows or hides the static fields and methods.

Hide Non-Public Members button

Hide Non-Public Members

Shows or hides the static fields and methods.

n/a

Select Working Set...

Opens the Select Working Set dialog to allow selecting a working set.

n/a

Deselect Working Set

Deselects the current working set.

n/a

Filters...

Opens the Java Element Filters dialog.

See Java Element Filters dialog

Related concepts
Java views
Java perspectives

Related tasks

Using the Package Explorer

Showing and hiding elements
 

Related reference

Java Element Filters dialog
Views and editors