Java outline

This view displays an outline of the structure of the currently-active Java file in the editor area.

Toolbar buttons

Command

Name

Description

Go into Top Level Type

Go into Top Level Type

Makes the top level type of the compilation unit the new input for this view. Package declaration and import statements are no longer shown.

Collapse All

Collapse All

Collapse all top level types.

Sort

Sort

This option can be toggled to either sort the outline elements in alphabetical order or sequential order, as defined on the Java > Appearance > Member Sort Order preference page.

Hide Fields

Hide Fields

Shows or hides the fields.

Hide Static Fields and Methods

Hide Static Fields and Methods

Shows or hides the static fields and methods.

Hide Non-Public Members

Hide Non-Public Members

Shows or hides the non-public fields and methods.

Hide Local Types

Hide Local Types

Shows or hides the local types.

Related concepts

Java editor
Java views
Filtering in Java views
Java element decorations
Sorting elements in Java views
Presentation options for Java views

Related tasks

Restoring a deleted workbench element
Setting method breakpoints

Related reference

Override methods
Views and editors