Add a Port to an Element

Add a new Port to an element

Use one of the following steps:




Click on the Port symbol in the Composite Elements page of the Toolbox, and drag the symbol to (or click on) the target host element.

This creates an untyped, simple Port on the boundary, near the cursor position.



On the context menu of a suitable Class, Part or Composite element in the Project Browser, select the Add | Port option.



Drag a suitable classifier from the Project Browser onto a Class or Part on a diagram.

A prompt displays to add a typed Port or Part at the cursor position.

The new Port is typed by the original dragged classifier.



Use the Structural Elements dialog (on a diagram, right-click on element | Structural Elements) to add a new Port to the currently selected element.


Learn more