1 / 60

Tutorial 2: Using IBM Rational Modeler for Dynamic Modeling

Tutorial 2: Using IBM Rational Modeler for Dynamic Modeling. Xuefeng Dai (Glenn) Mar 2th, 2012. Outline. Using IBM RSM to Create Sequence Diagrams Using IBM RSM to Create State Machines Common Mistakes in Dynamic Modeling. Create Sequence Diagrams. Sequence Diagram - example.

teryl
Download Presentation

Tutorial 2: Using IBM Rational Modeler for Dynamic Modeling

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tutorial 2: Using IBM Rational Modeler for Dynamic Modeling Xuefeng Dai (Glenn) Mar 2th, 2012

  2. Outline • Using IBM RSM to Create Sequence Diagrams • Using IBM RSM to Create State Machines • Common Mistakes in Dynamic Modeling

  3. Create Sequence Diagrams

  4. Sequence Diagram - example

  5. Create Sequence Diagrams Create New Sequence Diagram Add an Actor Add a Class Object Add from Palette Add Messages Add Combined Fragments Combined Fragment Example

  6. Create Sequence DiagramsCreate New Sequence Diagram

  7. Create Sequence DiagramsName the Sequence Diagram

  8. Create Sequence DiagramsAdd an Actor

  9. Create Sequence DiagramsAdd an Object C7201 Tutorial 2: Dynamic Modeling

  10. Create Sequence DiagramsAdd from Palette C7201 Tutorial 2: Dynamic Modeling

  11. Create Sequence DiagramsAdd Messages C7201 Tutorial 2: Dynamic Modeling

  12. Create Sequence DiagramsSynchronous Message C7201 Tutorial 2: Dynamic Modeling

  13. Create Sequence DiagramsSynchronous Message C7201 Tutorial 2: Dynamic Modeling

  14. Create Sequence DiagramsSynchronous Message C7201 Tutorial 2: Dynamic Modeling

  15. Create Sequence DiagramsSynchronous Message C7201 Tutorial 2: Dynamic Modeling

  16. Create Sequence DiagramsAsynchronous Message C7201 Tutorial 2: Dynamic Modeling

  17. Create Sequence DiagramsAsynchronous Message C7201 Tutorial 2: Dynamic Modeling

  18. Create Sequence DiagramsAsynchronous Signal Message C7201 Tutorial 2: Dynamic Modeling

  19. Create Sequence DiagramsCreate Message and Destroy Message C7201 Tutorial 2: Dynamic Modeling

  20. Create Sequence DiagramsAdd Combined Fragments C7201 Tutorial 2: Dynamic Modeling

  21. Create Sequence DiagramsCombined Fragments C7201 Tutorial 2: Dynamic Modeling

  22. Use Modeler to Create Sequence DiagramsAdd Covered Lifelines

  23. Use Modeler to Create Sequence DiagramsAdd Covered Lifelines

  24. Use Modeler to Create Sequence DiagramsAdd Interaction Operand

  25. Use Modeler to Create Sequence DiagramsAdd Interaction Operand C7201 Tutorial 2: Dynamic Modeling

  26. Use Modeler to Create Sequence DiagramsChange Position of Interaction Operand C7201 Tutorial 2: Dynamic Modeling

  27. Use Modeler to Create Sequence DiagramsAdding Guard Condition C7201 Tutorial 2: Dynamic Modeling

  28. Create State Machines

  29. State Machine - Example

  30. Use Modeler to Create State MachinesCreate a State Machine • Create a New State Machine • Add States and Transitions • Add an Event • Add an Action • Add a Condition • Model Temporal Constraints

  31. Use Modeler to Create State MachinesCreate a New State Machine

  32. Use Modeler to Create State MachinesAdd States and Transitions

  33. Use Modeler to Create State MachinesAdd Entry/Do/Exit to state C7201 Tutorial 2: Dynamic Modeling

  34. Use Modeler to Create State MachinesToggle display Entry/Do/Exit C7201 Tutorial 2: Dynamic Modeling

  35. Use Modeler to Create State MachinesAdd Event event name event name

  36. Use Modeler to Create State MachinesAdd Action We use effect for action add action

  37. Use Modeler to Create State MachinesAdd Action add action

  38. Use Modeler to Create State MachinesAdd Action select action set action name

  39. Use Modeler to Create State MachinesAdd Condition select event set condition

  40. Use Modeler to Create State MachinesGroup States Into Composite State C7201 Tutorial 2: Dynamic Modeling

  41. Use Modeler to Create State MachinesSplit Composite State C7201 Tutorial 2: Dynamic Modeling

  42. Use Modeler to Create State MachinesPreference Setting C7201 Tutorial 2: Dynamic Modeling

  43. Alt Open {0..1 s} Click Click Use Modeler to Create State MachinesModel Temporal Constraints :B Click 1 s Highlight

  44. Use Modeler to Create State MachinesModel Temporal Constraints • However, IBM Rational Modeler 7.5 doesn’t directly support this concept • What should we do? • Suggestion: use “note” to represent the temporal constraints on the diagram.

  45. Model Temporal ConstraintsDuration Constraint • First, select two events (by pressing SHIFT key), and from context menu, select “Add Note”

  46. Model Temporal ConstraintsDuration Constraint • Second, input duration constraint

  47. Model Temporal ConstraintsDuration Constraint • Third, adjust the position of the note and the connectors

  48. Model Temporal ConstraintsTime Constraint • First, select an event

  49. Model Temporal ConstraintsTime Constraint • Second, input time constraint

  50. Model Temporal ConstraintsTime Constraint • Third, adjust the position of the note and the connector

More Related