Skip to main content



      Home
Home » Eclipse Projects » GEF » Extending ManhattanConnectionRouter
Extending ManhattanConnectionRouter [message #215860] Wed, 10 May 2006 22:08 Go to next message
Eclipse UserFriend
Originally posted by: bandrews.nospam.com

Hi All,

I would like to extend the ManhattenConnectionRouter to do something
special. In addition to it's current functionality, I would like for it
to automatically move the connector over in the direction of it's target
if the connector crosses another Figure. So, I am thinking maybe
something like a hybrid of ManhattenConnectionRouter and
ShortestPathConnectionRouter. So in this example:

A

B




C

A connection from source [A] to target [C] would never be able to cross
the helpless [B]. Make sense? Maybe someone has already done this and
would like to share how they did it?

many thanks,

B
Re: Extending ManhattanConnectionRouter [message #215968 is a reply to message #215860] Thu, 11 May 2006 11:36 Go to previous message
Eclipse UserFriend
Originally posted by: bandrews.nospam_bphnx.com

My mistake, ManhattanConnectionRouter is final. But still I would like
to have this sort of router.


Barry Andrews wrote:
> Hi All,
>
> I would like to extend the ManhattenConnectionRouter to do something
> special. In addition to it's current functionality, I would like for it
> to automatically move the connector over in the direction of it's target
> if the connector crosses another Figure. So, I am thinking maybe
> something like a hybrid of ManhattenConnectionRouter and
> ShortestPathConnectionRouter. So in this example:
>
> A
>
> B
>
>
>
>
> C
>
> A connection from source [A] to target [C] would never be able to cross
> the helpless [B]. Make sense? Maybe someone has already done this and
> would like to share how they did it?
>
> many thanks,
>
> B
Previous Topic:How to make tools update their state when the active tool changes?
Next Topic:where is the PreferenceStore file?
Goto Forum:
  


Current Time: Tue Jul 15 07:27:35 EDT 2025

Powered by FUDForum. Page generated in 0.03059 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top