Hierarchy view shows the hierarchy of a type. The view consists of two panes:

By default Hierarchy view is shown in Magik Type Hierarchy perspective.
To add this view to the current perspective, click
Window > Show View > Other...
> Magik > Hierarchy.
Type hierarchy tree shows supertypes or subtypes of a given type depending on the selection made in the toolbar.
| Command | Name | Description |
|---|---|---|
![]() |
Supertype Hierarchy |
This command displays supertypes of a type in Hierarchy view. Tree starts at the selected type and displays the result of traversing up the hierarchy. Note: The selected type is always at the top level, in the upper-left corner. |
![]() |
Subtype Hierarchy |
This command displays subtypes of the selected class in Hierarchy view. Tree starts at the selected type and displays the result of traversing down the hierarchy Note: The selected type is always at the top level, in the upper-left corner. |
![]() |
Graph Hierarchy |
This command displays both subtypes and supertypes of the selected class in Hierarchy view. When class has both superclasses and subclasses, the superclasses are above the selected class and the subclasses are below it. With default graph layout (see Graph Options below), when class has only superclasses or only subclasses, the graph will be similar to the tree, accordingly reversed or normal. The arrows always show the direction of inheritance - parents (superclasses) point at the children (subclasses) Note: The selected type is always marked with different color (yellow when selected, light blue otherwise). |
![]() |
Previous Type Hierarchies |
The command opens Type Hierarchies History dialog. |
| Show Qualified Type Name |
Shows the name of the package for a given type. |
|
| Additional Type Info |
Shows type's additional info for the elements of the hierarchy:
|
|
| Graph Options |
Allows selecting different graph layouts:
|
Type hierarchy is displayed within the context of the project selected from Project list.
Double-click on the type will open its source code in the editor.
The menu, accessible via black arrow on the right side of Previous Type Hierarchies command, lists all previously selected type hierarchies. Select one to re-open it in Hierarchy View.

The member list pane displays the members of the currently selected type in the type hierarchy tree pane.

| Command | Name | Description |
|---|---|---|
![]() |
Show Local |
Shows only elements defined for the selected class. Inherited methods will not be shown. |
![]() |
Show all but object |
Shows elements defined for the selected class and inherited elements, apart from elements in the object class. |
![]() |
Show all |
Shows elements defined for the selected class and inherited elements. |
![]() |
Hide Non-Public Members |
Shows or hides non-public members. |
![]() |
Basic | Shows all elements with 'basic' classify level. |
![]() |
Advanced | Shows all elements with 'advanced' classify level. |
![]() |
Subclassable | Shows all elements with 'subclassable' classify level. |
![]() |
Redefinable | Shows all elements with 'redefinable' classify level. |
![]() |
Debug | Shows all elements with 'debug' classify level. |
![]() |
Deprecated | Shows elements with 'deprecated' classify level. |
![]() |
Restricted | Shows elements with 'restricted' classify level. |
![]() |
Override Flags | Overrides pragma flags - elements with any pragma content will be shown. |
Double-click on the member opens its source code in the editor.
Note: Element tooltips show their comments from Magik code.
On every element in the hierarchy view the following actions can be invoked:


Open Type in Hierarchy
Type Hierarchy History Dialog
Views and editors