Quick Type Hierarchy View

Quick Type Hierarchy View is an in-place view, shown at the top of Magik editor area, which can be easily controlled using the keyboard. It contains the Type Hierarchy of selected element.

Quick Type Hierarchy View

Activating and using Quick Type Hierarchy

Quick Type Hierarchy appears after performing Navigate > Quick Type Hierarchy command (Ctrl+T keyboard shortcut) while editing Magik source file. This view is designed to provide type hierarchy of exemplars and methods. Pressing Ctrl+T keyboard shortcut, while the view is active changes the hierarchy mode between supertype hierarchy and subtype hierarchy.

Using Quick Type Hierarchy with Magik Exemplars and Mixins

When invoking Quick Type Hierarchy with Magik Exemplar selected, the view is filled with exemplars parent elements or child elements depending on currently selected inheritance mode.

Exemplar's supertype hierarchy Exemplar's subtype hierarchy

Using Quick Type Hierarchy with Magik Methods

You can find out where method is overridden by placing cursor inside the method call and pressing Ctrl + T (Navigate > Quick Type Hierarchy). The view shows all Magik Exemplars that implements the method with full icon. The ones that are not implementing the method have gray out icon and name.

Method supertype hierarchy Method subtype hierarchy

Filtering Quick Type Hierarchy

The Quick Type Hierarchy can be easily filtered by typing desired phrase in filter area in upper part of the view. Filter exemplars are presented on the end of type hierarchy.

Quick Type Hierarchy Filtering

Description of the selected item

The Quick Type Hierarchy allows you to check description of the selected element by hovering your mouse over it.

Description of the selected item in Quick Type Hierarchy

When hovering over exemplars that implements given method the method's description is presented.

Description of the selected item in Quick Type Hierarchy

Quick Outline Menu

Click the triangle in the upper right corner to see menu view.

Option Description
Move

Lets you move the view.

Resize

Allows to change view size.

Remember Location

Remembers location of the view.

Remember Size

Remembers size of the view.

Supertype Hierarchy

This command displays supertypes of a type in Type 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 Type 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.

Related concepts

Magik editor

Related reference

Navigate Actions

Related reference

Quick Assist
Quick Fix
Quick Outline