20
Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved 1 Introduction to Rational Rose 98i Module 7: State Diagram

07state

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: 07state

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

Page 2: 07state

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

Page 3: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 3

Creating a State Diagram

Page 4: 07state

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

Page 5: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 5

States

Page 6: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 6

State Transitions

Page 7: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 7

Reflexive State Transitions

Page 8: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 8

Multiple Reflexive State Transitions

Page 9: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 9

State Transition Arguments

Page 10: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 10

Guarded State Transitions

Page 11: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 11

Actions

Page 12: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 12

Sending Events

Page 13: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 13

Start State

Page 14: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 14

End State

Page 15: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 15

Actions On Entry Into the State

Page 16: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 16

Actions Upon Entry Until Exit From the State

Page 17: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 17

Actions Upon Exit From the State

Page 18: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 18

Nested States

Page 19: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 19

History

Page 20: 07state

Introduction to Rational Rose 98i v 5.2Copyright 1993-1999 Rational Software, all rights reserved 20

Exercise: State Diagram