To open a type hierarchy on a text selection, select the name of a Java element in the editor, and do one of the following:
Using the Hierarchy view
Changing new type hierarchy defaults
Changing the appearance of the Hierarchy view
Opening a type hierarchy on a Java element
Opening a type hierarchy in the workbench
Opening a type hierarchy in its own perspective