To create a port element, choose one of the following methods.
Using the diagram toolbar button:
Click the Port button
on the diagram toolbar.
Click on a Part element to create the Port.
Using the context menu:
In Diagram view (UML Explorer or UML Navigator), right click on the Part element.
From the context menu, select New > Port.