Book a Demo

Author Topic: Avoiding destroy of lifelines in Sequence diagrams  (Read 7372 times)

Alinen

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Avoiding destroy of lifelines in Sequence diagrams
« on: July 25, 2013, 10:56:51 pm »
Hi,

when an object is created in a sequence diagram, its lifeline automatically is destroyed after the last access. An example can be seen here:


All four created objects get their lifeline destroyed. Especially object 2 and 4 have lifeline that is very short.
Hower the diagram shows only a part of the full lifecycle of these objects and they should never be destroyed in this diagram. Is there a way to achieve this?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Avoiding destroy of lifelines in Sequence diag
« Reply #1 on: July 25, 2013, 11:03:25 pm »
Usually you get this if the last message has a Lifecycle Destroy.

q.

Alinen

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Avoiding destroy of lifelines in Sequence diag
« Reply #2 on: July 25, 2013, 11:08:07 pm »
This is not the case. All messages (except the creating ones) have no lifecycle specified.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Avoiding destroy of lifelines in Sequence diag
« Reply #3 on: July 26, 2013, 08:58:05 am »
Tools | Options | Diagram | Sequence | Activation Indicator | Garbage Collect (auto delete)

wkenyon

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Avoiding destroy of lifelines in Sequence diagrams
« Reply #4 on: July 10, 2019, 02:19:55 am »
Tools | Options | Diagram | Sequence | Activation Indicator | Garbage Collect (auto delete)
I have been looking for this option (obviously not very hard) for years.  Allow me to update the path within the new UI:
Start | Preferences | Diagram | Sequence | Activation Indicator | GarbageCollect (auto delete).

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Avoiding destroy of lifelines in Sequence diagrams
« Reply #5 on: July 10, 2019, 06:42:34 am »
Hehe. In the next EA version it will be in a completely different location (reminds me of Monty Python).

q.

P.S. See also here: https://www.sparxsystems.com/forums/smf/index.php/topic,42732.0.html ROFL