Assigning operations to messages in sequence diagrams

In sequence diagrams, you can set a message signature by assigning an operation to it. When you create a message, the operation on the target interaction instance is created automatically and you are prompted to name the newly created operation.
You must be in the Package Explorer, Project Explorer, or C/C++ Projects navigation view. You must have a sequence diagram that contains at least two lifelines with messages open. The property of the target lifeline to which you add the operation must be a class, interface, or data type.
To assign an operation to a message:
  1. In the navigation view, click and drag a class, interface, or data type to a lifeline in the interaction frame. The interaction instance now represents that source element.
  2. In the navigation view, click and drag an operation to a message in the interaction frame. The operation must belong to the source element that is assigned to the target instance.
Related concepts
Lifelines in sequence diagrams
Messages in sequence diagrams
Related tasks
Creating synchronous or asynchronous messages in sequence diagrams
Adding create or destroy messages to lifelines in sequence diagrams
Moving synchronous messages
Reordering messages
Deleting messages from sequence diagrams and projects
Reconnecting messages
Delaying the receipt of asynchronous messages in sequence diagrams

Feedback