Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Imaging App, MouseMoveListener for View
Imaging App, MouseMoveListener for View [message #462684] Wed, 31 January 2007 15:26 Go to next message
Michael is currently offline MichaelFriend
Messages: 43
Registered: July 2009
Member
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 19:40 Go to previous messageGo to next message
Snjezana Peco is currently offline Snjezana PecoFriend
Messages: 789
Registered: July 2009
Senior Member
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 20:28 Go to previous message
Michael is currently offline MichaelFriend
Messages: 43
Registered: July 2009
Member
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: Mon Sep 09 11:43:41 GMT 2024

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

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

Back to the top