Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Imaging App, MouseMoveListener for View
Imaging App, MouseMoveListener for View [message #462684] Wed, 31 January 2007 10:26 Go to next message
Eclipse UserFriend
I am creating an application to test various algorithms on images. I want to create a view that magnifies an area around the mouse pointer. Where would I add the mouse move listener when the view is opened?

Michael
Re: Imaging App, MouseMoveListener for View [message #462752 is a reply to message #462684] Wed, 31 January 2007 14:40 Go to previous messageGo to next message
Eclipse UserFriend
You should add it to the view's or image's Composite.

Snjeza

Michael wrote:
> I am creating an application to test various algorithms on images. I want to create a view that magnifies an area around the mouse pointer. Where would I add the mouse move listener when the view is opened?
>
> Michael
Re: Imaging App, MouseMoveListener for View [message #462878 is a reply to message #462752] Thu, 01 February 2007 15:28 Go to previous message
Eclipse UserFriend
If I add the listener to the view, mousemove events are only sent when the mouse moves over the view.

I will add the listener to the editor composite, which is where the images are being tested. Now I want this listener to call an update() method in the view. How can I get a reference to the view?
Previous Topic:No scroll bars for ScrolledComposite?
Next Topic:JFace viewer and/or JFace databinding
Goto Forum:
  


Current Time: Tue Jul 15 08:07:11 EDT 2025

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

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

Back to the top