Book a Demo

Author Topic: Shallow paste of sequence diagram not working  (Read 3150 times)

RRushing

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Shallow paste of sequence diagram not working
« on: April 29, 2014, 03:57:01 am »
We have generated numerous sequence diagrams with "linked" lifeline elements....when we select an existing sequence diagram, select "copy diagram", then select a new project folder and select "paste diagram" -> "shallow" option...we would expect that the diagram and it's sequence steps would be copied, but the lifeline elements would not be copied....(they would continue to be a link of an existing element)....when in fact the lifeline elements are also being copied....is this normal  :'(

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Shallow paste of sequence diagram not working
« Reply #1 on: April 29, 2014, 04:54:51 am »
Yes, that's correct. It does not copy the class but generates a new lifeline. A lifeline is only valid in the context of a single sequence diagram. Therefore a sequence diagram should always appear inside an Interaction in the according class.

q.