Upload
nguyen-tran
View
485
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 7: State Diagram
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 2
Objectives: State Diagram
You will be able to: Create state diagrams containing
• States• Transitions• Actions and activities• Nested states
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 3
Creating a State Diagram
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 4
State Transition Toolbar
Text Box
Selection Tool
Note
Anchor Note to Item
State
State Transition
Transition to Self
Start State
End State
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 5
States
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 6
State Transitions
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 7
Reflexive State Transitions
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 8
Multiple Reflexive State Transitions
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 9
State Transition Arguments
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 10
Guarded State Transitions
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 11
Actions
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 12
Sending Events
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 13
Start State
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 14
End State
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 15
Actions On Entry Into the State
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 16
Actions Upon Entry Until Exit From the State
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 17
Actions Upon Exit From the State
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 18
Nested States
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 19
History
Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 20
Exercise: State Diagram