Skip to main content


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 17:13 Go to next message
Eclipse UserFriend
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 19:40 Go to previous messageGo to next message
Eclipse UserFriend
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 13:05 Go to previous message
amir  is currently offline amir Friend
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:Re: Plugin context menu conditions
Goto Forum:
  


Current Time: Tue Apr 23 08:10:31 GMT 2024

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

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

Back to the top