Book a Demo

Author Topic: Basic Sequence Diagrams  (Read 2501 times)

PeterM

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Basic Sequence Diagrams
« on: June 29, 2009, 11:13:51 pm »
I am studying Applying UML and Patterns 3rd Ed by Craig Larman.
I am having a few problems trying to get UML elements to appear as his book. I can get a fair distance but some things appear to thawt me.

For example on page 239 of his book he talks of adding an active object to a sequence diagram. I can't seem to see where this is to add. The description of this object is a lifeline box with vertical lines on the left and right hand side. Is this possible?

 :-/

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: Basic Sequence Diagrams
« Reply #1 on: June 30, 2009, 12:37:12 am »
In the diagram to which you refer :Clock is an instance of an active class.  Create a Clock class on a class diagram.  Go to the Properties...General tab of the Clock class, click on Advanced, and check the Is Active checkbox.  Now you have an active class.  Drag and drop Clock from the Project Browser onto your Interaction diagram and choose to paste "as instance of" the Clock class.

PeterM

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Basic Sequence Diagrams
« Reply #2 on: June 30, 2009, 02:31:18 pm »
Fantasic. I would never have though of that. I know you can drag other sequence diagrams to create ref fragments but this one is new to me.  :D