Upload
nguyen-tran
View
778
Download
0
Embed Size (px)
DESCRIPTION
Citation preview
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 1
Introduction to Rational Rose 98i
Module 8: Activity Diagram
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 2
Objectives: Activity Diagram
You will be able to: Create an activity diagram Add activities to an activity diagram Use transitions to connect two connect
activities Synchronize two or more concurrent flows of
control Model decisions in an activity diagram
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 3
Creating an Activity Diagram
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 4
Activity Diagram Toolbar
Selection Tool
Note
State
Start State
State Transition
Horizontal Synchronization
Decision
Text Box
Anchor Note to Item
Activity
End State
Transition to Self
Vertical Synchronization
Swimlane
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 5
Activities
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 6
Adding Transitions
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 7
Reflexive Transitions
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 8
Adding a Start State
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 9
Synchronization - Create a Fork
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 10
Synchronization - Create a Join
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 11
Adding a Decision
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 12
Adding a Decision - Guard Conditions
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 13
Swimlanes
Swimlane
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 14
Assign a Class to a Swimlane
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 15
Moving Activities to Swimlanes
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 16
End States
End State
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 17
Exercise: Activity Diagram