Book a Demo

Author Topic: Deleting from sequence diagrams  (Read 3693 times)

specious

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Deleting from sequence diagrams
« on: July 15, 2004, 05:56:07 am »
Apologies if this has been asked before, but I searched the forum and couldn't find it.

How do you delete a class from a sequence diagram without deleting it from the model altogether? The Help file is quite explicit about deleting elements:
Quote
Note: This does not delete the element from the model, only from the current diagram. The exception is Sequence diagrams, where an element is deleted from the model and sequence diagram at the same time.  
I can't be the first person to have dragged the wrong thing onto the diagram by mistake...

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Deleting from sequence diagrams
« Reply #1 on: July 15, 2004, 04:30:03 pm »
Classes don't get deleted from the model unless you remove them through the explorer window.  Deleting them from a diagram just removes the linked item in the diagram.  The class itself will still be present in the package it was originally added to.

thomaskilian

  • Guest
Re: Deleting from sequence diagrams
« Reply #2 on: July 16, 2004, 08:48:53 am »
So the documentation seems to be wrong  ???

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Deleting from sequence diagrams
« Reply #3 on: July 18, 2004, 07:40:39 pm »
Quote
So the documentation seems to be wrong  ???

Maybe the help is correct for element=lifeline (delete a lifeline from the diagram and it's gone, although the underlying class is still in the model). OK, I'm grasping at straws, I'll have a go at re-wording the help   ;)

PS Ctrl+Del will delete a selected element from a diagram and from the model at the same time.
The Sparx Team
[email protected]

johnr

  • EA Administrator
  • EA User
  • *****
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: Deleting from sequence diagrams
« Reply #4 on: July 18, 2004, 09:57:32 pm »
The help files have been fixed for the next help release to reflect the issue raised in this topic.