Professional Documents
Culture Documents
From The Browser, Create A New Sequence Diagram Called Execution
From The Browser, Create A New Sequence Diagram Called Execution
67
Adding instances
Add a # stem $order to the sequence diagram.
!rag the Display class from the browser onto the sequence diagram.
6"
For the purpose of this training, ou onl need the s stem border and the !ispla instance line. There is no need to add an operations.
6%
*f a sequence diagram is open, then +ational +hapsod creates a new animated sequence diagram based on the execution.
&ote that the animated sequence diagram captures operations, timeouts, and states.
7(
Extended exercise I
+ational +hapsod can displa the return 'alue on animated sequence diagrams. To do so, ou must use a macro OM-+.T/+&. *n the implementation of the operation isDone(), replace return with OM_RETURN.
7,
Extended exercise II
Tr adding an extra state pausing. Then ou will see the instance changing states.
70