Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Listening for events on the workbench
Listening for events on the workbench [message #136722] Fri, 26 September 2003 13:13 Go to next message
Eclipse User
Originally posted by: michael0714.comcast.net

What I am trying to do is write a method/plugin which will listen to the
entire workbench and tell me what is the current active object is when I
hover over it with the mouse. I know this can be accomplished by adding a
method to a view to listen for mouse events, but i need to listen for
events on the entire workbench. I am not sure this can be done. If it can
how? I can not modify any of the code within any of the view plugins..I
would like to sort of create my own view which listens to actions on all of
the other views..
Re: Listening for events on the workbench [message #139502 is a reply to message #136722] Fri, 03 October 2003 15:40 Go to previous messageGo to next message
Eclipse User
Originally posted by: John_Arthorne.oti.com_

IWorkbenchWindow.getSelectionService().addSelectionListener
--

Michael LeDuc wrote:
> What I am trying to do is write a method/plugin which will listen to the
> entire workbench and tell me what is the current active object is when I
> hover over it with the mouse. I know this can be accomplished by adding a
> method to a view to listen for mouse events, but i need to listen for
> events on the entire workbench. I am not sure this can be done. If it can
> how? I can not modify any of the code within any of the view plugins..I
> would like to sort of create my own view which listens to actions on all of
> the other views..
>
>
>
>
>
Re: Listening for events on the workbench [message #658920 is a reply to message #139502] Thu, 10 March 2011 08:05 Go to previous message
amir  is currently offline amir
Messages: 16
Registered: September 2010
Junior Member
Hey There
I encountered the same problem, but couldnot understand how to implement your solution. it will be great if some one write simple example for the solution.

thanks for help
Amir
Previous Topic:Toolbar contribution location
Next Topic:Type Hierarchy doesn't show anything
Goto Forum:
  


Current Time: Wed Aug 27 17:13:58 EDT 2014

Powered by FUDForum. Page generated in 0.02665 seconds