Class Hierarchy View
The Class Hierarchy view is a graphical representation of the
inheritance relationships between classes for the object being viewed. For a project, all
the declared classes are shown. For a class, the ancestors and descendents are shown. When
the input object is a namespace, the classes declared within the scope of this namespace
are shown.
The selected class is darker than the other nodes. Click the plus sign controls on a
graph node to expand the graph one level. Click the minus sign controls on a graph node to
collapse the entire sub-graph. A solid link between nodes in this view indicates
non-virtual inheritance. A dashed link between nodes indicates virtual inheritance. If a
class is both a virtual base class and a non-virtual base class, it is represented as a
single node with one solid and one dashed link.
The zoom controls and menu actions are enabled when a graph is not entirely visible in
a pane. Click the zoom in control
to increase the zoom
by one step. Click the zoom out control
to decrease the
zoom by one step. Drag the slider between the two controls to increase or decrease the
zoom more rapidly.
Click mouse button 2 on the view background or on a node to display pop-up menus that
contains actions. For the view background, these actions include the following:
- Live Find displays the Live Find controls for searching the view. The
search results depend on the graph layout. In a vertical layout, the search starts left to
right and then top to bottom. In a horizontal layout, the search starts top to bottom and
then left to right.
- Vertical Layout and Horizontal Layout control whether
the graph has a vertical top-down orientation, or a horizontal left to right orientation.
- Show Minimal Graph displays the minimum number of nodes required to
describe the input object. When the input object is a class, only the node for the class
is shown. When the input object is an aggregate such as a project, only the base classes
are shown.
- Show Entire Graph displays every node related to the input object.
- Show Ancestors and Descendents displays only the direct children and
parents for the input object. This action only applies to single input objects such as
classes since for an aggregate input object this action is equivalent to Show
Entire Graph.
- Default Initial Display controls for this pane how the graph is
displayed when it is viewed for the first time. After the initial display, you can change
the display attributes, and those changes are saved.
- Position to Selected Object scrolls the selected object back into view,
if it is not visible in the pane.
- Position to Input Object scrolls the input object back into view, if it
is not visible and if it exists in the graph.
- Zoom In increases the zoom by one step.
- Maximum Zoom In increases zoom to its maximum value.
- Zoom Out decreases the zoom by one step.
- Maximum Zoom Out decreases zoom to its minimum value.
- Zoom Overview displays a the Overview window that shows the entire
graph with a shaded area superimposed representing the visible part of the graph. Drag the
shaded area by the edge to change the zoom factor, or drag it in by the internal area to
scroll the visible part of the graph. If another view receives focus, the Overview is
hidden until the hierarchy view receives focus again.
- Print displays a print dialog box from which you select options and
print the graph.
- Redraw redisplays the graph based on the nodes currently displayed.
Gaps left by removed nodes are filled in.
- View Settings displays the View Settings view for this view in a
floating pane. Use this View Settings view to change the appearance of the Class Hierarchy
view.
For the object pop-up menu, the actions include the following:
- Show All Parents expands and shows all of the ancestors of a node, if a
node has ancestors.
- Show All Children expands and shows all of descendents of a node, if a
node has descendents.
- Hide Node removes the node from the visible graph. Select the plus sign
control on the top of the hidden node's children, or the bottom plus sign control on the
node's parent to redisplay the hidden node.
- Hide Node and Parent Tree removes the selected node and its ancestors
from the visible graph.
- Hide Node and Child Tree removes the selected node and its descendents
from the visible graph.
- Hide all Sibling Nodes removes the nodes that share the same parents of
the selected node. The selected node is not removed.
If you want help on another aspect of the IDE interface, more IDE
interface help is available.

Change Settings for Views