Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Detecting when someone has clicked on an item in the Problems view
Detecting when someone has clicked on an item in the Problems view [message #186626] Thu, 04 January 2007 04:06 Go to next message
Eclipse UserFriend
Originally posted by: alexmont1.comcast.net

I want to detect when the user has clicked on an icon in the Problems view.

Basically, my plugin puts up a whole bunch of markers, and when you click
on one, it updates its own view with information about that particular
marker. I want to make it so that the same thing that happens when you
click on a marker also happens when you click on the Problems view entry
for that marker.

Does clicking on an item in the Problems view generate any kind of event
that you can pick up or attach a callback to?
Re: Detecting when someone has clicked on an item in the Problems view [message #186820 is a reply to message #186626] Thu, 04 January 2007 17:21 Go to previous message
Eclipse UserFriend
Originally posted by: wayne.beaton._NOSPAM_eclipse.org

Alexander Mont wrote:
> I want to detect when the user has clicked on an icon in the Problems view.
>
> Basically, my plugin puts up a whole bunch of markers, and when you
> click on one, it updates its own view with information about that
> particular marker. I want to make it so that the same thing that happens
> when you click on a marker also happens when you click on the Problems
> view entry for that marker.
>
> Does clicking on an item in the Problems view generate any kind of event
> that you can pick up or attach a callback to?
>
Listen for the event on the selection manager.

http://www.eclipse.org/articles/Article-WorkbenchSelections/ article.html

Note that you'll get notified of any kind of selection. You'll have to
check the selected item to make sure that it's the type you're looking for.

Wayne
Previous Topic:Execute a Java program with a button
Next Topic:In the Aerospace world...
Goto Forum:
  


Current Time: Fri Apr 26 04:10:57 GMT 2024

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

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

Back to the top