Book a Demo

Author Topic: Direction of Send and Recieve  (Read 3492 times)

Stasch

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Direction of Send and Recieve
« on: December 04, 2006, 02:52:41 pm »
Does anyone have a way to change the direction of a Send or Receive object from an Analysis diagram.  It seems they only appear one way from left-to-right.

Any input is appreciated.

thomaskilian

  • Guest
Re: Direction of Send and Recieve
« Reply #1 on: December 05, 2006, 09:27:38 am »
I can't test this, but you should be able to change the element type from the context menu.

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Direction of Send and Recieve
« Reply #2 on: December 07, 2006, 01:28:25 pm »
Right click the send or receive shape and on the popup menu select Advanced -> Make Sender (or Receiver)

Cheers,
David.
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

Stasch

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Direction of Send and Recieve
« Reply #3 on: December 07, 2006, 01:34:12 pm »
Thanks for your reply.  

I have a certain situation where the Sending will be going form right-to-left in the diagram.  I still want to keep the object as a send object, not a receive object.


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Direction of Send and Recieve
« Reply #4 on: December 07, 2006, 02:17:48 pm »
You can do it by adding a stereotype with a shape script.

eg. «reverse send» base class event.

Shape Script
Code: [Select]
shape main
{

startpath();

moveto(30,0);

lineto(100,0);

lineto(100,100);

lineto(30,100);

lineto(0,50);

endpath();

fillandstrokepath();



addsubshape("name", 100,100);

shape name

{


h_align = "center";


v_align = "center";


editablefield = "name";


println("#name#");

}
}