Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Add a double click listener on a TableViewerColumn
Add a double click listener on a TableViewerColumn [message #900764] Wed, 08 August 2012 12:25 Go to next message
Cedric Moonen is currently offline Cedric MoonenFriend
Messages: 274
Registered: August 2009
Senior Member
Hello,

I have a table viewer with two columns. What I would like to do is register a double click listener on the viewer but handle the double click differently if it happens in the first or the second column.
You can't register a double-click listener on a TableViewerColumn and the double-click listener on the viewer itself only contains information about the element.

Is there a way to achieve something like that ?
Re: Add a double click listener on a TableViewerColumn [message #900767 is a reply to message #900764] Wed, 08 August 2012 12:26 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
No the SWT-Column does not provide any API for that. IIRC I implemented
double clicking on the header for Nebula-Grid.

Tom

Am 08.08.12 14:25, schrieb Cedric Moonen:
> Hello,
>
> I have a table viewer with two columns. What I would like to do is
> register a double click listener on the viewer but handle the double
> click differently if it happens in the first or the second column.
> You can't register a double-click listener on a TableViewerColumn and
> the double-click listener on the viewer itself only contains information
> about the element.
>
> Is there a way to achieve something like that ?
Previous Topic:DnD Question
Next Topic:Scrolling in the JFace Tree Viewer
Goto Forum:
  


Current Time: Fri Apr 26 11:37:14 GMT 2024

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

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

Back to the top