Skip to main content



      Home
Home » Eclipse Projects » GEF » Regarding Connection Endpoint Locator
Regarding Connection Endpoint Locator [message #242904] Tue, 13 May 2008 08: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 10:13 Go to previous message
Eclipse UserFriend
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 May 29 08:37:04 EDT 2025

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

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

Back to the top