Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Draw2d polyline
Draw2d polyline [message #228461] Thu, 21 December 2006 11:57 Go to next message
Manuel Selva is currently offline Manuel Selva
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi all,

I have Polylines in my Draw2D graph. I would like to add a mouseListener
on this polyline. It works fine but the click must be exactly on the
polyline : very difficult to reach ...
Is there any solution to solve this problem ??

Thanks

Manu


Re: Draw2d polyline [message #228472 is a reply to message #228461] Fri, 22 December 2006 09:27 Go to previous message
Manuel Selva is currently offline Manuel Selva
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi,

After search in draw2d sources the only way i found to solve my problem is
to copy the Polyline source code to create my own Line figure and change
the TOLERANCE field value.
Is there an other cleaner and safe way i miss to change this tolerance ?

Thanks

Manu


Previous Topic:properties view
Next Topic:adding child + subchild +..
Goto Forum:
  


Current Time: Thu Oct 30 14:40:16 GMT 2014

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

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