Adding an existing port to a composite structure diagram
If you want to add a Port to a Composite Structure Diagram as a top-level item, you must do so through a drag-and-drop operation.
After adding a Port to the diagram, you can use the View Options to show or hide the Port's Name, Full Name, Full Name, Type, Multiplicity, Default Value and Stereotypes.
To add an existing port through the port toolbar button:
1. On the Structure Diagram Toolbar, click the Port button.
2. Right-click the item (Class, Data Type, Interface, Signal, Part or Port) in which you want to add the Port.
3. From the context menu, click the Port (aggregate Role or Attribute) you want to add.
If Modeler displays the Select Object dialog instead of a context menu, the item you right-clicked does not contain any Ports.
4. If required, set the properties of the Port through its Property Pages.
Modeler adds the existing Port to the Composite Structure Diagram.
To add an existing port through a drag-and-drop operation:
Locate the Port (aggregate Role or Attribute) you want to add in a Modeler pane, and then drag the Port to free-space or a valid item (Class, Data Type, Interface, Signal, Part or Port) on the Composite Structure Diagram. Use the Parts pane to find Ports in context.
This mouse pointer means that the Port will be added to the diagram.
This mouse pointer means that the Port will be moved in to the target item.
This mouse pointer means that the Port will be copied to the target item.
Modeler adds the existing Port to the Composite Structure Diagram.