08activity

Software Developer en HCMUS
14 de Apr de 2011
08activity
08activity
08activity
08activity
08activity
08activity
08activity
08activity
08activity
08activity
08activity
08activity
08activity
08activity
08activity
08activity
08activity
1 de 17

Más contenido relacionado

Similar a 08activity

Software System Engineering - Chapter 14Software System Engineering - Chapter 14
Software System Engineering - Chapter 14Fadhil Ismail
Activity diagram modelActivity diagram model
Activity diagram modelahmed zewita
Lecture6 activity diagramsLecture6 activity diagrams
Lecture6 activity diagramsShahid Riaz
Activity Diagram part8Activity Diagram part8
Activity Diagram part8DrMohammed Qassim
Activity diagActivity diag
Activity diagPreeti Mishra
Digite - Project Management TrainingDigite - Project Management Training
Digite - Project Management TrainingDigite, Inc.

Más de Nguyen Tran

Se 06Se 06
Se 06Nguyen Tran
12report12report
12reportNguyen Tran
10team10team
10teamNguyen Tran
07state07state
07stateNguyen Tran
06collaboration06collaboration
06collaborationNguyen Tran
05sequence05sequence
05sequenceNguyen Tran

08activity

Notas del editor

  1. To create an activity diagram in the Browser Click right to select the “owning” package or use case in the Browser and make the popup menu visible. Select the New:Activity Diagram menu command. While the diagram is still selected, enter the name of the diagram. To open an activity diagram Double click on the activity diagram in the browser. An activity diagram is used to model the workflow of a business process, an operation of a class or a use case flow of events (see RUP). It can be added to a package or a class. For simplicity, this course uses an activity diagram to describe the Create a Schedule scenario in the Register for Courses use case. Note that the main difference between an activity diagram and a statechart is that activity diagrams are activity centered; statecharts are state centered.
  2. To customize the activity diagram toolbar Click right on the toolbar to make the popup menu visible. Select the Customize menu command. Click to select the button that you want to add or remove. Click the Add or Remove button to add or remove the button from the toolbar. Click the Close button to close the Customize Toolbar window.
  3. To create an activity Click to select the Activity icon on the toolbar. Click on the activity diagram to place the activity. While the activity is still selected, enter its name. An activity represents the performance of a task in a workflow. It is similar to a state, but with no significant waiting (for events).
  4. To create a state transition Click to select the State Transition icon on the toolbar. Click on the originating activity. Drag the state transition arrow to the successor activity. In an activity diagram, a state transition shows the path from one activity to the next. When one action completes, flow of control passes immediately to the next action.
  5. To create a reflexive transition Click to select the Transition to Self icon on the toolbar. Click on the state. A reflexive state transition is when the successor activity is also the origination activity.
  6. To create a start state Click to select the Start State icon on the toolbar. Click on the diagram to place the start state. Click to select the State Transition icon on the toolbar. Click on the start state on the diagram and drag the arrow to the successor activity. The start state is the initial state of an activity. There is only one start state.
  7. To create a fork Click to select the Horizontal Synchronization icon on the toolbar. Click on the diagram to place the fork. Click to select the State Transition icon on the toolbar. Click on the originating activity on the diagram and drag the arrow to the fork. Click to select the Activity icon on the toolbar, and place the activity on the diagram. Repeat for each concurrent activity. Click to select the State Transition icon on the toolbar. Click on the fork, and drag the arrow to the destination activity. A fork represents splitting a single flow of control into two or more concurrent flows of control. A fork can also be drawn with a Vertical Synchronization.
  8. To create a join Click to select the Horizontal Synchronization icon on the toolbar. Click on the diagram to place the join. Click to select the State Transition icon on the toolbar. Click on the originating activity on the diagram and drag the arrow to the join. Repeat this for each concurrent activity. A join represents the synchronization of two or more concurrent flows of control. A join can also be drawn with a Vertical Synchronization.
  9. To create a decision Click on the Decision icon on the toolbar. Click on the diagram to place the decision. Click to select the State Transition icon on the toolbar. Click on the originating activity and drag the arrow to the decision. A decision is when the workflow branches based on guard conditions. If the decision has two outgoing transitions, the transitions should be determined by a boolean expression.
  10. To create a guard condition Add a new activity to the diagram. Click to select the State Transition icon on the toolbar. Click on the decision on the diagram and drag the arrow to the new activity. Click right on the transition to make the popup menu appear. Select the Open Specification menu command. In the Specification dialog, select the Detail tab. Enter the guard condition in the Guard Condition edit control. Click OK to save the guard condition. The guard condition should be a boolean condition. The guard condition is evaluated only if the flow enters the branch.
  11. To create a swimlane Click to select the Swimlane icon on the toolbar. Click on the activity diagram to place the swimlane. Swimlanes represent organizational roles or units in a business model or specific classes in the design model.
  12. To assign a class to a swimlane Right mouse click on the swimlane title bar in the activity diagram to make the popup menu visible. Select the Open Specification menu command. Click on the Class dropdown list box to select a class. Select a class from the dropdown list box. Click OK to save your work. Assigning a class to a swimlane means that the class is responsible for the activity placed in that swimlane. You can also specify organizational units or business roles for a business model. In this case, the user names the swimlane and does not assign a specific class to the activities.
  13. To move an activity to a swimlane Click to select the activity to be moved. Drag the activity to the appropriate swimlane.
  14. To create an end state Click to select the End State icon on the toolbar. Click on the diagram to place the end state. Click to select the State Transition icon on the toolbar. Click on the originating activity on the diagram and drag the arrow to the end state. An end state is the final state of an activity diagram. An activity diagram can have multiple or no end states.
  15. This is the activity diagram for the Create a Schedule scenario of the Register for Courses use case.