7

I don't know if its a limitation of UML 1.4, or ArgoUML, but in a sequence diagram, I want to show an object calling a method in its own class, ie calling a sub-procedure.

If I drag from the object to itself, nothing happens :-(

Thanks, Ant

Mike Pennington
  • 41,899
  • 19
  • 136
  • 174
Ant Kutschera
  • 6,257
  • 4
  • 29
  • 40

3 Answers3

12

You need to drag away, click, drag down, click, drag back to the original lifeline (ie make a U shape instead of a V shape or single line). It seems like more work than should be necessary, but it does work.

This works in 0.30.2. Not sure if it used to work differently (as Jordi's comment implies).

Tom Morris
  • 10,490
  • 32
  • 53
0

Have around 10 grid line distance between the two life line. Now select the New Create Action and put the cursor on life line where you want the self call. Now drag away around 3 gridlines and click from same point drag downward click and drag backward up to the same life line where you stared. Thats all done!!

Satish
  • 127
  • 1
  • 1
  • 7
0

Not sure why you have problems with that. If you point the message arrow to the object column itself it correctly draws a reflexive message.

Jordi Cabot
  • 8,058
  • 2
  • 33
  • 39
  • I'm using ArgoUML 0.30.2... I have an object "/A:a", and it has the object column drawn below it. I click either new call action, or new send action, and then click on the object column, drag away, and then drag back. Nothing happens - the line disappears :-( – Ant Kutschera Oct 10 '10 at 13:33
  • I´ve tried with the ¨Launch via web java start" version and indeed the line disappears. I was using an older version at home. – Jordi Cabot Oct 11 '10 at 11:21