17
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

08activity

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: 08activity

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

Page 2: 08activity

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

Page 3: 08activity

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

Creating an Activity Diagram

Page 4: 08activity

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

Page 5: 08activity

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

Activities

Page 6: 08activity

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

Adding Transitions

Page 7: 08activity

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

Reflexive Transitions

Page 8: 08activity

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

Adding a Start State

Page 9: 08activity

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

Synchronization - Create a Fork

Page 10: 08activity

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

Synchronization - Create a Join

Page 11: 08activity

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

Adding a Decision

Page 12: 08activity

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

Adding a Decision - Guard Conditions

Page 13: 08activity

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

Swimlanes

Swimlane

Page 14: 08activity

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

Assign a Class to a Swimlane

Page 15: 08activity

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

Moving Activities to Swimlanes

Page 16: 08activity

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

End States

End State

Page 17: 08activity

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

Exercise: Activity Diagram