Book a Demo

Author Topic: Dragging Classes onto Sequence Diagrams  (Read 3388 times)

Wargfang

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Dragging Classes onto Sequence Diagrams
« on: June 26, 2005, 09:30:57 pm »
Please be gentle if this is a really stoopid question.

I have a set of class models.

I am doing a sequence diagram. I dragged on of my existing classes onto my sequence diagram (I added it as a simple link) and as I expected it got created as a lifeline. I then degined several 'Messages' and 'Calls' that involved my class/lifeline.

None of them appeared on the class as methods.

I thought they would (along with their description and params). Why didnt they ? / shouldnt they ?

thomaskilian

  • Guest
Re: Dragging Classes onto Sequence Diagrams
« Reply #1 on: June 27, 2005, 02:48:18 am »
They way you do it is when working in conceptual phase. All methods are only existing on the diagram. If you defined a method first inside the class you can select it from the drop down list when creating the message.

mbc

  • EA User
  • **
  • Posts: 237
  • Karma: +1/-0
  • Embedded software developer
    • View Profile
Re: Dragging Classes onto Sequence Diagrams
« Reply #2 on: June 27, 2005, 08:29:05 am »
If you want to create new operations while working on your sequence diagram, click on the "Operations" button in the Message Properties dialog. Then you can add a new operation and afterwards you can select it from the drop-down list.

Mikkel

Wargfang

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Dragging Classes onto Sequence Diagrams
« Reply #3 on: June 27, 2005, 04:02:05 pm »
Thanks for that.