Hierarchy View

The Hierarchy view (in the Java perspective) shows the supertypes and subtypes for the selected Java object. Use it to explore the type hierarchy, fields, and methods for a class or interface by selecting the type in the Java editor or Package Explorer view and pressing F4 (Navigate → Open Type Hierarchy).

The Hierarchy view has two panes, each with its own toolbar. The top pane is the Type Hierarchy tree (see Table 17), which lists the object's supertypes and subtypes. The optional bottom pane is the Member list (Table 18). It shows fields and methods. Double-click on any type or member to edit its source code.

Table 7-9. Type Hierarchy toolbar

Icon

Description

Show the type hierarchy from object down.

Show the supertype hierarchy from the current type up.

Show the subtype hierarchy from the current type down.

View a previous type in the history.

Table 7-10. Member list toolbar

Icon

Description

Lock the member list and show inherited members ...

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.