Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TableColumns provide still too little event support
TableColumns provide still too little event support [message #559566] Fri, 17 September 2010 08:18
Daniel Krügler is currently offline 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
Previous Topic:Why SWT on Gnome?
Next Topic:Images losing their transparency while transfer with Clipboard
Goto Forum:
  


Current Time: Sun Oct 26 04:34:07 GMT 2014

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

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