Sequence Diagram Messages [message #478571] |
Tue, 30 June 2009 16:25  |
Eclipse User |
|
|
|
Hi,
How can we add a message to an existing Interaction.
I checked the metamodel for the element Message and I can't find which
attribute is responsible to define the source and target of the message.
For example in State Machine if you want to create a transition there is
an attribute source and target that specify the two ends of the
transition.. How can we do that in sequence diagrams?
Also which element/attribute is responsible to specify the position of the
message in the interaction diagram.. (i.e. first message in a specific
lifeline or the second..etc)
Thanks.
|
|
|
Re: Sequence Diagram Messages [message #478573 is a reply to message #478571] |
Wed, 01 July 2009 03:45   |
Eclipse User |
|
|
|
Mary,
the ordering of the messages in an interaction is determined by the
elements MessageOccurrenceSpecification(MOS), which represent the
sending and receiving of a message.
Each MOS contains exactly one association to an Event
(SendOperationEvent, SendSignalEvent, etc.), that represents the kind of
message event. So, the ordering depends on the ordering of the MOS. If
you want to add to message as the first message afterwards, you have r
create not only the message, but also the corresponding occurrence
specifications.
HTH
Timothy
mary schrieb:
> Hi, How can we add a message to an existing Interaction. I checked the
> metamodel for the element Message and I can't find which attribute is
> responsible to define the source and target of the message.
> For example in State Machine if you want to create a transition there is
> an attribute source and target that specify the two ends of the
> transition.. How can we do that in sequence diagrams?
>
> Also which element/attribute is responsible to specify the position of
> the message in the interaction diagram.. (i.e. first message in a
> specific lifeline or the second..etc)
>
> Thanks.
>
>
|
|
|
|
|
|
|
|
Re: Sequence Diagram Messages [message #627755 is a reply to message #478571] |
Wed, 01 July 2009 03:45   |
Eclipse User |
|
|
|
Mary,
the ordering of the messages in an interaction is determined by the
elements MessageOccurrenceSpecification(MOS), which represent the
sending and receiving of a message.
Each MOS contains exactly one association to an Event
(SendOperationEvent, SendSignalEvent, etc.), that represents the kind of
message event. So, the ordering depends on the ordering of the MOS. If
you want to add to message as the first message afterwards, you have r
create not only the message, but also the corresponding occurrence
specifications.
HTH
Timothy
mary schrieb:
> Hi, How can we add a message to an existing Interaction. I checked the
> metamodel for the element Message and I can't find which attribute is
> responsible to define the source and target of the message.
> For example in State Machine if you want to create a transition there is
> an attribute source and target that specify the two ends of the
> transition.. How can we do that in sequence diagrams?
>
> Also which element/attribute is responsible to specify the position of
> the message in the interaction diagram.. (i.e. first message in a
> specific lifeline or the second..etc)
>
> Thanks.
>
>
|
|
|
|
|
|
|
Re: Sequence Diagram Messages [message #627942 is a reply to message #478595] |
Tue, 15 September 2009 08:28  |
Eclipse User |
|
|
|
Hello Mary ,
i have the same Problem that yo had with the creation of the message in an interaction . how to create a MessageOccurrenceSpecification when you create a message ? should I add an element MessageOccurrenceSpecification to the GMFmap ? and it's the case it will be a node or a link ? i hope you will guive the answer for all those question ;) thanks a lot .
|
|
|
Powered by
FUDForum. Page generated in 0.05659 seconds