Book a Demo

Author Topic: lifecycle in sequence diagram  (Read 3281 times)

mylesr

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
  • Howdy!!
    • View Profile
lifecycle in sequence diagram
« on: March 24, 2005, 07:58:52 am »
In a sequence diagram I have object A create object B.  At this point the lifeline of object B extends to the bottom of the page.  Then I add a message from B to create object C.  When I do this, the lifeline of object B is truncated and shows as being destroyed right after creating C.  How can I remove the "X" from B and extend the lifeline to the bottom of the diagram.  

Context:  This sequence diagram represents an initialization and authorization use case.  Objects B and C that are created here are intended to be outputs from this use case that become inputs into other use cases.  So... they cannot be assumed to be destroyed simply because they are not referenced again in *this* diagram.  

Thanks in advance!  

Takeshi K

  • EA User
  • **
  • Posts: 630
  • Karma: +43/-1
    • View Profile
    • Sparx Systems Japan
Re: lifecycle in sequence diagram
« Reply #1 on: March 25, 2005, 01:26:33 am »
Hello Mylesr,

Please  uncheck 'GarbageCollect' checkbox in 'Sequence' group of Local Options dialog.

--
t-kouno
--
t-kouno

mylesr

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
  • Howdy!!
    • View Profile
Re: lifecycle in sequence diagram
« Reply #2 on: March 28, 2005, 10:43:12 am »
Thanks!  That did the trick.