Viewing a component

Each component that you select (in a view or in the nav tree) has a “default” view that appears in the view pane. You can select a different view of the component using the view selector or the popup (right–click) menu. The last view of an object becomes its default view during a Workbench session. If Workbench is closed and restarted, default views are reset to the original default views.

For details on selecting component views, see To select a component view.

In addition to having different views, you can edit the way views display information. For details about customizing a view, refer to the following procedures:

To reorder components (in a component container)

To create a composite view

To select a component view

To select a component view, do one of the following:

To reorder components (in a component container)

You can reorder the components that are contained in a “container” component using the property sheet view, the nav tree view, or the wire sheet view.

To reorder components, do the following:

  1. Right–click the desired component.

    The popup menu appears.

  2. From the popup menu, select Reorder.

    The Reorder dialog box appears.

  3. In the Reorder dialog box, use the sort buttons, as follows:

    • Move Up button

      Select one or more items in the component list (use the Ctrl or Shift key to select multiples) and click this button to move selected item(s) up (one position per click) in the list.

    • Move Down button

      Select one or more items in the component list (use the Ctrl or Shift key to select multiples) and click this button to move selected item(s) down (one position per click) in the list.

    • Sort by Name button

      Click this button to sort all items in the list in alphabetical order, by name. Each click toggles the sort order between ascending and descending sort order.

    • Sort by Type button

      Click this button to sort all items in the list in order by component type. Each click toggles the sort order between ascending and descending sort order.

    • Reset button

      Click this button to set the components in the list back to the order that they were in when the Reorder dialog box was opened.

    The components are sorted according to button selected.

To create a composite view

Composite views are available in the wire sheet view and in the property sheet view. Creating a composite view of a component allows you to expose one or more child slots (that you designate) at the parent–view level. For more information about composite views, refer to About composites.

To create a composite view, do the following:

NoteThe component that you select in the following step must have a child component to be a legitimate parent component. If no valid child component is available, then there cannot be a composite.

  1. In the wire sheet view or in the property sheet view, right–click on the desired parent object.

    appears.

    The popup menu appears.

  2. From the popup menu, select the Composite command.

    The Composite Editor appears.

  3. In the Composite Editor, expand the tree to find and select the desired points to add to the parent component. Select multiple points (if desired) by holding the Ctrl or Shift keys when selecting.

  4. With the desired point(s) selected, click the Add button to add one or more points to the right column of the Composite Editor.

  5. Optional: Use the Composite Editor control buttons to do the following, if desired:

    • Reverse

      Reverse the chosen side (“in” or “out”) of a point that is being composited.

    • Rename

      Provide a custom name for the new slot created by composited point.

    • Remove

      Removes the composited item (slot) from right side of the Composite Editor.

    • Move Up

      Sort all selected points by moving them up in the Composite Editor (list (one position per click).

    • Move Down

      Sort all selected points by moving them down in the Composite Editor list (one position per click).

  6. Click the OK button.

    The component composites are set.