Outline view for Java
This view displays an outline of the structure of the currently-active Java file in the editor area.
It displays an outline of the Java file including the package declaration, import declarations, fields, types and methods. The Outline view uses icons to annotate Java elements. For example, icons indicate whether a Java element is static, abstract, or final. Different icons show you whether a method is overridden from a base class or when it implements a method from an interface.
Toolbar buttons:
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.
Sort
This option can be toggled to either sort the outline elements in alphabetical order or sequential order, as defined inside the compilation unit.
Note: Static members are always listed first.
Hide Fields
Shows or hides the fields.
Hide Static Members
Shows or hides the static fields and methods.
Hide Non-Public Members
Shows or hides the non-public fields and methods.
You can edit source code by viewing the whole Java file, or you can narrow the view to a single Java element. The toolbar includes a button, Show Source of Selected Element Only, that will cause only the source code of the selected outline element to be displayed in the Java:
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |