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.

You must have a composite structure diagram open.
To add a part to a composite structure diagram:
  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 structured classifiers, and click OK.
  3. Type a name for the part and press Enter.
Related concepts
Parts
Connectors in structured classifiers
Related tasks
Changing the type of classifiers for parts
Connecting parts and ports in composite structure diagrams
Adding ports to composite structure diagrams
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.