Adding a Public Method
In the Outline tab, right-click the public diagram and select Load Diagram from the context menu.
The diagram opens in a separate editor window.
In the editor window of the public diagram, do one of the following:
- In the Insert menu, select Method.
- Right-click in the Outline tab and select Add Method from the context menu.
A new method is created and its name is shown in the Outline tab.
- Enter a name for the method and press <Enter>.
- Set up the method as described in steps 3 to 8 in Defining a Component Signature.
See also
Defining a Component Signature