9
Intro to Rose 98i Instructor Notes 9/18/2006 Module 8- Activity Diagram 1 Page 1 Introduction to Rational Rose 98i v 5.2 Copyright 1993-1999 Rational Software, all rights reserved 1 Introduction to Rational Rose 98i Module 8: Activity Diagram Introduction to Rational Rose 98i v 5.2 Copyright 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

Week 04-activity

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Week 04-activity

Intro to Rose 98i Instructor Notes 9/18/2006

Module 8- Activity Diagram 1

Page 1

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 1

Introduction to Rational Rose 98i

Module 8: Activity Diagram

Introduction to Rational Rose 98i v 5.2

Copyright 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

Page 2: Week 04-activity

Intro to Rose 98i Instructor Notes 9/18/2006

Module 8- Activity Diagram 2

Page 2

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 3

Creating an Activity Diagram

Introduction to Rational Rose 98i v 5.2

Copyright 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

Page 3: Week 04-activity

Intro to Rose 98i Instructor Notes 9/18/2006

Module 8- Activity Diagram 3

Page 3

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 5

Activities

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 6

Adding Transitions

Page 4: Week 04-activity

Intro to Rose 98i Instructor Notes 9/18/2006

Module 8- Activity Diagram 4

Page 4

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 7

Reflexive Transitions

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 8

Adding a Start State

Page 5: Week 04-activity

Intro to Rose 98i Instructor Notes 9/18/2006

Module 8- Activity Diagram 5

Page 5

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 9

Synchronization - Create a Fork

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 10

Synchronization - Create a Join

Page 6: Week 04-activity

Intro to Rose 98i Instructor Notes 9/18/2006

Module 8- Activity Diagram 6

Page 6

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 11

Adding a Decision

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 12

Adding a Decision - Guard Conditions

Page 7: Week 04-activity

Intro to Rose 98i Instructor Notes 9/18/2006

Module 8- Activity Diagram 7

Page 7

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 13

Swimlanes

Swimlane

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 14

Assign a Class to a Swimlane

Page 8: Week 04-activity

Intro to Rose 98i Instructor Notes 9/18/2006

Module 8- Activity Diagram 8

Page 8

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 15

Moving Activities to Swimlanes

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 16

End States

End State

Page 9: Week 04-activity

Intro to Rose 98i Instructor Notes 9/18/2006

Module 8- Activity Diagram 9

Page 9

Introduction to Rational Rose 98i v 5.2

Copyright 1993-1999 Rational Software, all rights reserved 17

Exercise: Activity Diagram