Adding a Public Method

  1. 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.

  2. 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.

  3. Enter a name for the method and press <Enter>.
  4. Set up the method as described in steps 3 to 8 in Defining a Component Signature.

See also

Reserved Keywords

Defining a Component Signature

Using a Public Method for External Communication

Using Public Methods in Actions and Conditions