Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Draw2d figure repaint() causes a "mouse exited"
Draw2d figure repaint() causes a "mouse exited" [message #219110] Fri, 07 July 2006 12:39
Eclipse UserFriend
Originally posted by: Thomas.Kowatsch.ruag.com

Hi all.

I have a SWT Canvas on which I do my draw2d paintings.
Among others, I have a Shape figure which reacts on mouse enter/exit
events (addMouseMotionListener on the figure).
The Shape changes the behaviour how it is displayed depending if the
mouse is inside or outside the figure.
So I change the display parameter in the mouse enter/exit methods and do
a repaint.
Now the repaint in the "mouse enter" method triggers a mouse exited
although the mouse cursor is still inside the figure.
Anybody knows what goes wrong?

Cheers.

-- Thomas
Previous Topic:Child EditPart Problems - XYLayoutPolicy??
Next Topic:drag & drop & SnapToHelper
Goto Forum:
  


Current Time: Fri Mar 29 12:20:56 GMT 2024

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

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

Back to the top