Eric

As far as I can tell, it is not possible. 

Menu Tools>Options, Tab Diagrams, section Message Signatures allows you to
change the display of the parameters, so you can have: 
getThing(thingNumber : int)
or
getThing(int)
or
getThing(thingNumber)
or 
getThing()
but no return value!

You could do it by typing in plain text.  You'll get messages in the error
log like:
14:46:38|  Warning: Message thing := getThing() received from object
aControl by object aServer does not correspond to an operation of class
Server. 
14:46:38|           The message has been set to free-form text.
but you lose the information that this is an operation of the receiving
object's class.

You could show an explicit return (dashed arrow) and call it 'thing', but
diagrams tend to get cluttered if you put in all the returns explicitly.

Incidentally, the UML syntax for return values on a sequence diagram or
collaboration diagram is 
thing := getThing()
The return value comes before the operation name, and foo is implicit in the
object or role receiving the message.  (Though Rose doesn't do roles as far
as I can tell.)

Simon
-----------------------------------------------------
Simon Bennett, Systems Architect, GEHE AG
Ext. 2406, (+44)(0)24 7643 2600 (Switchboard), (+44)(0)24 7643 2406 (Direct)

> -----Original Message-----
> From: Manley, Matt [mailto:[EMAIL PROTECTED]]
> Sent: 02 May 2002 14:16
> To: [EMAIL PROTECTED]
> Subject: (ROSE) Return Values on Sequence Diagrams
> 
> 
> 
> 
> Is it possible to configure Rose so that return values are 
> displayed on
> Sequence Diagrams?
> 
> Currently the  messages look like:
> 
> foo.getThing()
> 
> To Something like:
> 
> foo.getThing() : thing
> 
> 
> Eric Manley
> 
> 
> **************************************************************
> **********
> * Rose Forum is a public venue for ideas and discussions.
> * For technical support, visit http://www.rational.com/support
> *
> * Post or Reply to: [EMAIL PROTECTED]
> * Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
> *    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> *    To: [EMAIL PROTECTED]
> *    Subject: <BLANK>
> *    Body: unsubscribe rose_forum
> **************************************************************
> ***********
> 

************************************************************************
DISCLAIMER

The information contained in this e-mail is confidential and is intended
for the recipient only.

If you have received it in error, please notify us immediately by reply 
e-mail and then delete it from your system. Please do not copy it or
use it for any other purposes, or disclose the content of the e-mail
to any other person or store or copy the information in any medium. 

The views contained in this e-mail are those of the author and not 
necessarily those of GEHE Group companies.
************************************************************************

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*    To: [EMAIL PROTECTED]
*    Subject: <BLANK>
*    Body: unsubscribe rose_forum
*************************************************************************

Reply via email to