Type Hierarchy View

The Type Hierarchy view display the hierarchy for a given type (a class name, interface name or class methods, constants and fields.). This allows you to view an element's supertypes (types higher in the hierarchy) or subtypes (lower in the hierarchy) within a tree structure, providing you with an overview of your element's structure.

See Viewing Types in the Type Hierarchy View for information on how to open a type in the Type Hierarchy view.

type_hierarchy_view2.png

The Type Hierarchy view consists of two panes:

Type Hierarchy Tree Pane Toolbar Commands

Icon

Name

Description

type_hierarchy_view_button1.png

Show the Type Hierarchy

Displays the type in its full context (i.e., superclasses and subclasses) in the Type Hierarchy view.

type_hierarchy_view_button2.png

Show the Supertype Hierarchy

Displays the supertypes and the hierarchy of all implemented interfaces of the type.

Note: The selected type is always at the top level, in the upper-left corner.

type_hierarchy_view_button3.png

Show the Subtype Hierarchy

Displays the subtypes of the selected class and/or all implementors of the interface in the Hierarchy view.

Note: The selected type is always at the top level, in the upper-left corner.

type_hierarchy_view_button4.png

Previous Hierarchy Inputs

Displays a history of previously displayed type hierarchies.

 

Type Hierarchy Member List Pane Toolbar Commands

Icon

Name

Description

type_hierarchy_view_button5.png

Lock View and Show Members in Hierarchy

Only displays the members implementing the selected method.

When the view is locked, the member list pane no longer tracks the selection in the Type Hierarchy Tree Pane.

type_hierarchy_view_button6.png

Show All Inherited Members

Shows or hides all methods and fields inherited by base classes. When this option is enabled, the name of the type that defines the method is appended to the method name.

type_hierarchy_view_button7.png

Sort Members by the Defining Type

Sorts the members according to the type in which they are defined.

 

Type Hierarchy View Menu Commands

The view's menu can be accessed through the view menu icon menu_icon.png.

Icon

Name

Description

type_hierarchy_view_button1.png type_hierarchy_view_button2.png type_hierarchy_view_button3.png

Show the Type / Supertype or Subtype Hierarchy

Selects whether to display the type, supertype or subtype hierarchy in the Type Hierarchy Tree Pane (see above).

 

Select/Deselect/Edit Working Set

Allows you to view only types from within a specific Working Set. See PHP Working Sets for more information.

 

Layout

Allows you to select the display of the panes within the Type Hierarchy view.

The options are:

  • Vertical View Orientation

  • Horizontal View Orientation

  • Automatic View Orientation

  • Hierarchy View Only

type_hierarchy_view_button9.png

Show Qualified Type Names

Displays only qualified type names

link_with_editor_icon.png

Link With Editor

If selected, elements will immediately be displayed in the editor when selected. If unselected, elements will be displayed in the editor when they are double-clicked.

 

 

link_icon.png

Related Links:

Type Hierarchy

Viewing Type Hierarchies