Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » To add double click listener to the problemview pane
To add double click listener to the problemview pane [message #323769] Mon, 07 January 2008 22:14 Go to next message
Eclipse UserFriend
hi all,

I wanted to know how to add a double click listener to the problem view pane so that when i doubleclick on the marker i get a window.
Re: To add double click listener to the problemview pane [message #323776 is a reply to message #323769] Tue, 08 January 2008 09:41 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

shwetha wrote:
> hi all,
>
> I wanted to know how to add a double click listener to the problem
> view pane so that when i doubleclick on the marker i get a window.

Note that the class org.eclipse.ui.views.markers.internal.ProblemView is
internal, not public API so anything you do to touch or extend it is not
recommended. Investigate that class and you'll find that it inherits
from TableView, which despite its name contains a multi-column
TreeViewer. There is a protected method to get access to the TreeViewer,
to which you can probably add whatever listener you need. But, this has
to be done through subclassing and thus you'll end up with a different
ViewPart to show instead of the same Problems View.
I don't think there is any support for adding listeners to existing
views, but I'm not 100% certain.

Hope this helps,
Eric
Previous Topic:AboutDialog shows no "Feature Details" button
Next Topic:Guidelines for partitioning plugins?
Goto Forum:
  


Current Time: Sat Jul 19 18:58:13 EDT 2025

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

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

Back to the top