Architecting and designing > UML 2.0 Lite > UML models > UML Sequence diagram > Invoking a method on target object
  
Invoking a method on target object
The method invoked by a sending object on a target object is defined within the definition of the Message/Stimulus line.
1 Select the Message/Stimulus line and open its definition.
2 Click clickChoices in the Operation (Method) list box. The Select and Drag dialog opens, providing you with a (filtered) list of methods that exist in the definition of the target class and its superclasses. You can browse the details of the methods listed in the details box at the bottom of the Browse dialog (if it is not showing, right-click and choose Details).
3 Select a method and drag it into the Operation (Method) list box.
This graphic is described in the surrounding text.
Displaying/not displaying the method name
You can choose whether or not to display the method name as described below:
See
UML Sequence diagram