Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Double click on TableTreeViewer with CellEditors
Double click on TableTreeViewer with CellEditors [message #445139] Tue, 26 October 2004 17:53 Go to next message
Eclipse UserFriend
Originally posted by: chauncey78.hotmail.com

Hi,

I have a TableTreeViewer with CellEditors, the editors are working fine
however i have two questions regarding to its behavior:

1. Selection of a table row will activate the editor in the cell
containing the cursor (if there is one associated), is this the default
behavior? It would be more convinient that a single click on the SELECTED
row, rather than the selection itself, activates the cell editor. i read
several of the old posts it seems the behavior WAS what i desire, is there
anything i missed?

2. Double click event is not detected while mouseUp and mouseDown are. I
set the mouse listener to the table widget like:

tableTreeViewer.getTableTree().getTable().addMouseListener(. .);

Is the editor inside the cell intercepting the second click (of the double
click)?

Any help will be appreciated!

Thanks,
Chauncey
Re: Double click on TableTreeViewer with CellEditors [message #445145 is a reply to message #445139] Wed, 27 October 2004 00:01 Go to previous message
Eclipse UserFriend
Originally posted by: chauncey78.hotmail.com

i figured out the second.. the double click event is sent to the viewer
itself.. anyone has any comments to the first?

chauncey wrote:

> Hi,

> I have a TableTreeViewer with CellEditors, the editors are working fine
> however i have two questions regarding to its behavior:

> 1. Selection of a table row will activate the editor in the cell
> containing the cursor (if there is one associated), is this the default
> behavior? It would be more convinient that a single click on the SELECTED
> row, rather than the selection itself, activates the cell editor. i read
> several of the old posts it seems the behavior WAS what i desire, is there
> anything i missed?

> 2. Double click event is not detected while mouseUp and mouseDown are. I
> set the mouse listener to the table widget like:

> tableTreeViewer.getTableTree().getTable().addMouseListener(. .);

> Is the editor inside the cell intercepting the second click (of the double
> click)?

> Any help will be appreciated!

> Thanks,
> Chauncey
Previous Topic:Focusable CLabel
Next Topic:Column widths in two tables
Goto Forum:
  


Current Time: Thu Oct 22 07:40:33 GMT 2020

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

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

Back to the top