Classes and types Selecting which ports to display in the diagram If you right-click a class and select Ports , the following options are available: Љ New Port creates a new port on the specified class. Љ Show All Ports shows all the ports that currently exist in the specified model class. Љ Hide Ports hides all the ports that are currently displayed by the specified model class. However, ports that are created later will be displayed. Using this show/hide functionality in conjunction with the Show New Ports display option for the owning class, you can show and hide ports as intended to simplify your model.
For more information on display options for classes, see General tab display options . If you set Show New Ports mode to on, each new port that is added to the class is also displayed in the diagram class. Ports created before this graphic class, or while the Show New Ports feature is off, are not synthesized in the diagram, unless they were created using the graphic editor New Port option. If Show New Ports mode is off, any ports created after disabling this mode will not be displayed. Creating a new port for a class To create a new port: 1. Right-click a class and select Ports . 2. Select New Port creates a new port on the specified class.
Showing all ports To show all the ports in the diagram, select the Show New Ports check box in the Display Options window for the owning class, and select Ports > Show All Ports for the class. Showing new ports only To show only new ports in the diagram, select the Show New Ports check box in the Display Options window for the owning class, and select Ports > Hide Ports for the class. Hiding all ports To hide all ports in the diagram, clear the Show New Ports check box in the Display Options window for the owning class, and select Ports > Hide Ports for the class. 100 User Guide