Adding call events to state machine diagrams

In UML models, a call event is an event that represents the receipt of a request to invoke an operation. A transition with a call event initiates when the called operation is invoked.

Before you begin

Before you can add a trigger to a transition, you must have a state machine diagram open in the Modeling perspective.

Procedure

  1. Right-click a transition; then click Add UML > Trigger > Call Event.
  2. Complete one of the following steps:
    • To create a new call event, click Create Call Event and complete one of the following steps:
      1. To create a new call operation, click Create Operation, type a name, and press Enter.
      2. To select an existing operation, click Select Existing Element, and in the Select Element window, click an operation, and click OK. Type a name and press Enter.
    • To select an existing call event, click Select Existing Element, and in the Select Element window, click a call event, and click OK. Type a name and press Enter.

Results

The call event is added to the transition in the diagram and in the Project Explorer view. You can view and modify details about the call event in the Properties view, on the Triggers page for the selected transition.

Feedback