Changing the type for elements in capsule-based structure diagrams

In capsule-based structure diagrams, you can change the type for elements to customize them for your purposes.

About this task

To change the type of local or inherited elements:

Procedure

  1. In the Project Explorer view, right-click a capsule; then click Open structure diagram.
  2. In the diagram editor, right-click an element; then click Show Properties View.
  3. In the Properties view, on the General tab, click Select type.
  4. In the Select Element for type window, complete one of the following steps:
    • To see the available elements that you can select, on the Search tab, in the Select an element field, type an asterisk (*).
    • To search for a specific element, on the Browse tab, expand the Select an element list.
  5. Select an element to become the type of the part.

Results

Tip: To revert to the original inherited type for the element, in the diagram editor, right-click the inherited element; then click Re-Inherit.
Tip: You can also change the type of an element in other ways. You can drag a capsule from the Project Explorer view onto a part in the diagram, or you can edit the part name in the diagram. If you edit the part name in the diagram, press Ctrl+Space after the colon (:) to see a list of valid types.

Feedback