Opening a type hierarchy in its own perspective

The default behavior for opening the Hierarchy view is to replace the Hierarchy view that is already open in the perspective. If there are no open Hierarchy views, one is opened automatically.

Sometimes, it is useful to look at or work with several type hierarchies in different perspectives. This can be achieved by changing a workbench preference.

  1. From the menu bar, select Window > Preferences and select the Java category. The general Java Preferences page opens.

  2. In the When Opening a Type Hierarchy category, select the radio button Open a new Type Hierarchy Perspective.

Related concepts

Java perspectives

Related tasks

Using the Hierarchy view
Changing new type hierarchy defaults
Opening a type hierarchy on a Java element
Opening a type hierarchy on the current text selection
Opening a type hierarchy in the workbench

Related reference

Views and editors
Type Hierarchy view
Java Base preference page

Legal notices