IBM
Contents Index Previous Next



Tree Window


The Drawing Area

The Tree window's drawing area visualizes inheritance and redefinition relations between types by presenting the types and instances in a tree form. There are two types of trees displayed in the Tree window:

The two trees for a certain type are often, but not always, identical. The Type Viewer supports you by checking if they are identical; if so, they are shown as one tree. When the Inheritance and Redefinition trees are different, both are shown separately. Each tree has a header identifying which type of tree it is.

The object attributes are listed vertically in the trees in the following way (see Figure 444):

The qualifier is displayed in italics in a multi-line form, with each path item on a separate line. No angle brackets or slashes are used.

In the tree, the type objects with the same parent are placed from left to right alphabetically according to the diagram type and object type.

Figure 444 : Tree window

The Tree window is updated when the selection in the Main window is changed. The Tree window is updated to show the Inheritance and Redefinition trees in the system that contain the type/instance that is selected in the Main window. The first occurrence of that type/instance also becomes selected in the Tree window.

It is possible to view all Inheritance and Redefinition trees in the current system at once in the Tree window (see Show All Trees). The trees are lined up vertically in the same drawing area.

The Menu Bar

File Menu

The File menu contains the following menu choices:

View Menu

The View menu contains the following menu choices:

Expand

Expands the selected object one level down.

Expand Substructure

Expands the selected object as much as possible.

Expand All

Expands all visible trees as much as possible.

Collapse

Collapses the selected object, i.e. hides all child objects. If there is no selected object, the menu choice is named Collapse All. Collapse All collapses all trees in the window.

Window Options

Sets options for which parts of the Tree window to show. The dialog controls whether to show the tool bar and the status bar.

Tree Options

Sets options for which symbols to include in the trees in the Tree window. The dialog controls whether to show instance symbols (Type symbols are always shown).

Symbol Options

Sets options for which attributes to show for each symbol in the trees in the Tree window. The dialog controls whether to show the Qualifier, the Type identifier, and the Name of the types and instances.

Show All Trees

Shows type trees for all types in the system.

Set Scale

Issues a dialog where the scale for the Tree window may be set.

Tools Menu

The Tools menu contains the following menu choices:

Search

Searches for a text in the type trees shown in the Tree window.

Figure 445 : The Search dialog

If the search reaches the end of the trees, you are asked whether to continue the search from the first tree.

If the text cannot be found, you are informed in a confirmation dialog.

Search Again

Searches again for the same text as in the latest search. The behavior is the same as described in Search.

Show in Editor

Shows the selected type or instance in an SDL Editor. If a type symbol is selected, an SDL Editor is opened with that type diagram. If an instance symbol is selected, an SDL Editor is opened with the diagram that contains the instance.

Show Type Viewer

Raises the Type Viewer's Main window.

Popup Menus

The following tables lists the menu choices in the Tree window popup menus and a reference to the corresponding menu choice in the menu bar.

On the Tree Window Background

Search

Search.

Search Again

Search Again.

Show All Trees

Show All Trees.

Show Type Viewer

Show Type Viewer.

Expand All

Expand All.

Collapse All

Collapse all top objects in all trees.

On a Symbol in the Tree Window

Search

Search.

Search Again

Search Again.

Show in Editor

Show in Editor.

Show All Trees

Show All Trees.

Show Type Viewer

Show Type Viewer.

Expand

Expand.

Expand Substructure

Expand Substructure.

Collapse

Collapse.

Keyboard Accelerators

Apart from the general keyboard accelerators, the following accelerator can be used in the Tree window:

Accelerator Reference to corresponding command
Ctrl+E

Show in Editor


http://www.ibm.com/rational
Contents Index Previous Next