ConnectionAnchor [message #207314] |
Fri, 13 January 2006 08:40 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: samuele82.inwind.it
hi all,
i would like to create a anchor at center of a figure.
How can i do?
Thanks, Samuel
|
|
|
Re: ConnectionAnchor [message #207317 is a reply to message #207314] |
Fri, 13 January 2006 10:55 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: ingo.koch[nospam].sap.com
Now that?s too easy!
The ChopBoxAnchor is a good starting point for this:
Overwrite/create a modification of ChopBox anchor
and let
#public Point getLocation(Point reference)
return getReferencePoint() (returns the center of your figure translated to
absolute coordinates)
regards, Ingo
"Samuele" <samuele82@inwind.it> wrote in message
news:19fa44e90987cbf001c5b80e9bd35a26$1@www.eclipse.org...
> hi all,
> i would like to create a anchor at center of a figure.
> How can i do?
> Thanks, Samuel
>
>
|
|
|
Re: ConnectionAnchor [message #207484 is a reply to message #207317] |
Mon, 16 January 2006 17:18 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: samuele82.inwind.it
Hi Ingo,
i would like add a new anchor to a figure.
when I create a new connection outcoming from a figure, i'd like add a new
anchor in a new (different) position.
How i can do?
Thanks, samuel
|
|
|
Powered by
FUDForum. Page generated in 0.03255 seconds