Double click on TableTreeViewer with CellEditors [message #445139] |
Tue, 26 October 2004 13:53  |
Eclipse User |
|
|
|
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] |
Tue, 26 October 2004 20:01  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07244 seconds