# Opening a type hierarchy on a Java element

There are several ways to open a type hierarchy. Select a Java element in a Java view and:

- Press F4 or
- Choose Open Type Hierarchy from the view's pop-up menu or
- Drag and drop the element to the Hierarchy view or
- Press Ctrl+Shift+H and select a type from the list in the resulting dialog (this works only for classes and interfaces) or
- Select Navigate > Open Type in Hierarchy from the menu bar or
- Select Focus On... from the pop-up menu of the type hierarchy viewer.

Java development tools (JDT)

Changing new type hierarchy defaults
Creating Java elements
Using the Hierarchy view
Opening a type hierarchy on a Java element
Opening a type hierarchy on the current text selection
Opening a type hierarchy in the workbench
Opening a type hierarchy in its own perspective

Views and editors
Type Hierarchy view