Book a Demo

Author Topic: Parenthesis on a return?  (Read 3286 times)

jps

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Parenthesis on a return?
« on: November 09, 2007, 09:15:22 am »
On sequence diagrams I'm now seeing parenthesis on a return.

Essentially, I’m seeing something like this:

| message()  |
|----------->|

| response() |
|<- - - - - - |

I used to see this:

| message() |
|---------->|

| response  |
|<- - - - - -|

When creating the return message I’m simply specifying the name of the return value (“response”  in my example above) in the Message text box of the Message Properties dialog box and checking “Is Return” in the Control Flow section.

So, is this now actually per the UML spec?  Or am I not entering the right things in the right places on the Message Properties dialog?

Thanks,

James
« Last Edit: November 09, 2007, 09:16:27 am by jps »

jps

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Parenthesis on a return?
« Reply #1 on: November 09, 2007, 09:40:06 am »
Ok, so in reading the documentation (RTFM! ;)) I see it says that:

Quote
"If the Message is a return message, in the Return Value field enter the returned value or type."


This gets rid of the parenthesis, but now I have a colon in front of the return value.  

| :someValue |
|< - - - - - -|

Anyone know how to get rid of that?

frankk

  • EA User
  • **
  • Posts: 96
  • Karma: +0/-0
    • View Profile
Re: Parenthesis on a return?
« Reply #2 on: November 21, 2007, 10:13:13 am »
You can get rid of all empty parentheses by clicking "Suppress brackets..." in the Features tab of the diagram properties.
« Last Edit: November 21, 2007, 10:13:24 am by frankk »