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.
Command |
Description |
---|---|
Back |
Navigates to the most recently-displayed state of the view with a different element at the top level. |
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 |
Navigates to the parent container of the package that is currently displayed at the top level in the view. |
Collapse All |
Collapses all tree nodes. |
Link with Editor |
Links the package explorer's selection to the active editor. |
Select Working Set... |
Opens the Select Working Set dialog to allow selecting a working set. |
Deselect Working Set |
Deselects the current working set. |
Edit Active Working Set |
Opens the Edit Working Set wizard.. |
Hide Non-Public Members |
Shows or hides the static fields and methods. |
Hide Static Members |
Shows or hides the static fields and methods. |
Hide Fields |
Shows or hides fields. |
Filters... |
Opens the Java Element Filters dialog. |
Using the Package Explorer
Showing and hiding elements