Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [uml2-dev] set label to an UML2 Message


Guillem,

Please use the newsgroup (as I see you have) for questions like this.

Cheers,

Kenn Hussey

Eclipse UML2 Project Lead
Rational Software, IBM Software Group

770 Palladium Drive
Kanata, Ontario, K2V 1C8

T: (613) 599-3980  F: (613) 599-3912



"Guillem Vidal" <guillemvidal@xxxxxxxxx>
Sent by: uml2-dev-bounces@xxxxxxxxxxx

05/05/2006 10:54 AM

Please respond to
"This mailing list is used to discuss the development issues for the  UML2 project. "

To
uml2-dev@xxxxxxxxxxx
cc
Subject
[uml2-dev] set label to an UML2 Message





Hello,

    I generated UML2 and uml2di sequence diagrams models. Into those
diagrams,  there are 2 kinds of messages: calls and returns. Of course every
message has a name, and this name should appear on the screen into diagrams.

To make the name appear for calls i used the "signature" field this way:
callMessage.setSignature(callMessage);

and the message appears this way on the screen: (with parenthesis as a call)
  messageName()


The problem came when i tried to show return messages name on screen. A
return is not a call and does not have parenthesis so signature doesn't work
here. I think the solution might be to set a label but i can't see a

setLabel method. message.getLabel() exists but not message.setLabel(). So
how can i do to set a label for an uml2 Message object ? Or how can i do to
set the name of the message a way that it appears on screen without

parenthesis?

                             Thank you, Guillem.
_______________________________________________
uml2-dev mailing list
uml2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/uml2-dev


Back to the top