|
Re: Unnecessary mouseup/mousedown events in Tables [message #114529 is a reply to message #114491] |
Fri, 05 December 2008 12:05 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Tim,
it looks like what you suggested is the only way to prevent the
extra mouse events from being fired.
To be sure you may ask the eclipse.platform.rcp newsgroup.
HTH
Rüdiger
Tim Whittington wrote:
> Hi
>
> I’ve observed unnecessary mouseup and mousedown events being propogated
> to the server when a row is clicked in a TableViewer.
> Tracking it down, this appears to be due to a ColumnViewerEditor being
> created for the TableViewer, which ends up adding a MouseListener to the
> Table.
>
> Overriding createViewerEditor to return null fixes this, but I wanted to
> check whether this was intentional behaviour.
> Is there another way to indicate to RAP that I don’t want the Table to
> be editable?
>
> cheers
> tim
|
|
|
Powered by
FUDForum. Page generated in 0.02676 seconds