Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Regarding Connection Endpoint Locator
Regarding Connection Endpoint Locator [message #242904] Tue, 13 May 2008 12:01 Go to next message
Eclipse UserFriend
Originally posted by: rajeev.singh.gm.com

Hi,

I'm new to GEF and I was going through the sample Draw2D code provided in
CVS.
I was going through the code of ConnectionAndAnchorExample.java provided
for Connections and ConnectionEndpointLocator.
When we move the node, labels attached to the connection also moves.
My question is what can be done so that end points labels attached to
connection never intersect with connection?

Thanks,
Rajeev.
Re: Regarding Connection Endpoint Locator [message #242915 is a reply to message #242904] Tue, 13 May 2008 14:13 Go to previous message
Felix L J Mayer is currently offline Felix L J MayerFriend
Messages: 202
Registered: July 2009
Senior Member
I think you will have to write your own Locator to do that, probably taking
ConnectionEndPointLocator as an example.

"Rajeev" <rajeev.singh@gm.com> wrote in message
news:bcaba36ce9aae471437f247aeda6e582$1@www.eclipse.org...
> Hi,
>
> I'm new to GEF and I was going through the sample Draw2D code provided in
> CVS.
> I was going through the code of ConnectionAndAnchorExample.java provided
> for Connections and ConnectionEndpointLocator.
> When we move the node, labels attached to the connection also moves.
> My question is what can be done so that end points labels attached to
> connection never intersect with connection?
>
> Thanks,
> Rajeev.
>
Previous Topic:GEF environment with TinyDT
Next Topic:ComboBoxPropertyDescriptor proplem
Goto Forum:
  


Current Time: Thu Dec 26 22:44:03 GMT 2024

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

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

Back to the top