Adding signal events to state machine diagrams

In UML models, a signal event represents a specific message that initiates a transition when an object receives it.

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 > Signal Event.
  2. Complete one of the following steps:
    • To create a new signal event, click Create Signal Event and complete one of the following steps:
      1. To create a new signal, click Create Signal, type a name, and press Enter.
      2. To select an existing signal, 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 signal event, click Select Existing Element, and in the Select Element window, click a signal event, and click OK. Type a name and press Enter.

Results

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

Feedback