TableColumns provide still too little event support [message #559566] |
Fri, 17 September 2010 08:18 |
Daniel Krügler Messages: 853 Registered: July 2009 |
Senior Member |
|
|
With the resolution of
https://bugs.eclipse.org/bugs/show_bug.cgi?id=23103
it is now possible to set a context menu that is
specific for the header of a table. This is very fine,
but unfortunately several issues related to earlier
issues, namely
https://bugs.eclipse.org/bugs/show_bug.cgi?id=17871
https://bugs.eclipse.org/bugs/show_bug.cgi?id=32322
did not end up in providing support for e.g.
mouse move events.
Why do I think this is a bad state?
There are several situations, where an empty table
has to find out the TableColumn where the mouse or
at least the context menu currently is located.
One example is, when you want to provide a "Remove"
or "Hide" function that attempts to shrink the width
of a table column or dispose it. AFAIK there is no
known way to determine a TableColumn from coordinates
reliably, see e.g. the thread "Find TableColumn by
Point" for unsuccessful approaches.
This looks like a severe state to me. Are there any
known but possibly undocumented workarounds to realize
this? In my case it would be sufficient to work on
Windows systems, but portable solutions would be
preferred.
Thanks very much & Greetings from Bremen,
- Daniel Krügler
|
|
|
Powered by
FUDForum. Page generated in 0.04149 seconds