Book a Demo

Author Topic: Message link does not connect?  (Read 5852 times)

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Message link does not connect?
« on: January 10, 2005, 08:37:02 am »
In my logical model diagram I have two objects .  I'm trying to show that  Object 1 calls Object 2.

When I draw a message link (from the interaction menu) to Object 2 from Object 1, the ends of the link do not connect to the object symbols.  If i drag one of the objects, the link's endpoint is left dangling where it was.

Am I doing something wrong?

Thanks
Jim
Verbal Use Cases aren't worth the paper they are written upon.

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Message link does not connect?
« Reply #1 on: January 10, 2005, 10:36:44 am »
I tried it and they sonected. it didnt ook like they where but when tring to move link a way it didnt work.

I guess the problem is that this kind of link is not suposed ot be used in logical diagram.
Recursion definition:
If you don’t understand the definition read "Recursion definition".

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Message link does not connect?
« Reply #2 on: January 10, 2005, 11:54:01 am »
I'm using Build # 744, what are you using?  I just tried it again.  The message seems to connect on the X-axis, but not on the Y-axis.  I can move the line up and down as far as I want but horizontal movements result in the message snapping back to the X-axis position.  If I move the objects along the X-axis, the length of the line changes to match, but  not if I move vertically.

Thanks for your input, but my problem remains...
Jim
Verbal Use Cases aren't worth the paper they are written upon.

thomaskilian

  • Guest
Re: Message link does not connect?
« Reply #3 on: January 11, 2005, 01:30:16 am »
You can't move it horizontally. Instead you have to move the objects and the message will be stretched accordingly. I guess you wan't to do something else than simply showing the message?

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Message link does not connect?
« Reply #4 on: January 11, 2005, 02:36:15 am »
Correct, I'm expecting not to be able to move it horizontally, having to move the objects instead.  

However:
I expect not to be able to move it vertically either!!  It is not good to have the objects at the bottom of the diagram and the message at the top of the diagram.
I expect the message to be visible and vertical when the objects are aligned vertically.  All I get is a red, horizontal, oval dot!
I expect the message line to be diagonal when the objects are aligned diagonally with respect to eachother.  It is not aligned diagonally, it remains horizontal.

I expect the message link to behave graphically like any other link, but it does not!.

Thanks
Jim

Verbal Use Cases aren't worth the paper they are written upon.

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Message link does not connect?
« Reply #5 on: January 11, 2005, 09:27:04 am »
THe message link belongs to sequence diagram and it is just behaving like in sequence diagram (moving vertivaly but not horizontaly)
Recursion definition:
If you don’t understand the definition read "Recursion definition".

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Message link does not connect?
« Reply #6 on: January 11, 2005, 10:44:07 am »
So How do I develop a Communication Diagram ala
http://sparxsystems.com.au/UML2_tutorial/UML2_CommunicationDiagram.htm
« Last Edit: January 11, 2005, 10:45:07 am by jeshaw2 »
Verbal Use Cases aren't worth the paper they are written upon.

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Message link does not connect?
« Reply #7 on: January 11, 2005, 01:31:05 pm »
If you mean the "cd" diagram in the tutorial, these messages are created by first adding an associiation link between the objects and then adding the message using trhe context menu "Add message..." action.

hth
Bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Message link does not connect?
« Reply #8 on: January 11, 2005, 02:11:24 pm »
BINGO!
Apparently, the association line context menu varies by the type of diagram it is used in!  I did not know that!  Somewhere in this forum, someone wrote that you could draw any tool on any diagram...I guess that is not the best advice.

I've been trying to draw this on an Object diagram (state) instead of on a Communication diagram (behavior)!  The "Add mesage" option is not available on state diagram assiciations.

I wish this was made more clear in the help files.

My problem is solved!  Thanks to all of you for hanging in there with me on this one.
Verbal Use Cases aren't worth the paper they are written upon.