Adding parts to composite structure diagrams

In composite structure diagrams, you can add a part to show the composite properties that the containing structured classifier owns. You can join parts with connectors to specify the configuration of linked instances in the containing classifier.

Before you begin

You must have a composite structure diagram open in the Modeling perspective.

Procedure

  1. In the Palette, click Part.
  2. In the diagram editor, specify the type of part by completing one of the following steps:
    • To create an unspecified part, click Unspecified.
    • To create a new part that is typed by a class, click Create New Class.
    • To create a new part that is typed by a component, click Create New Component.
    • To create a new part that is typed by an interface, click Create New Interface.
    • To create a part from an existing element, click Select Existing Element, select an element from the list of available elements, and click OK.
  3. Click in the diagram, type a name for the part; then press Enter.

Feedback