Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Column reorder event?
Column reorder event? [message #458874] Mon, 25 July 2005 13:24 Go to next message
Andy Arhelger is currently offline Andy ArhelgerFriend
Messages: 62
Registered: July 2009
Member
Is there anyway I can hook into a column reorder for at table?

I tried the controlMoved method on the ControlListener on TableColumn
but this doesn't work very well. It gives me way too many events
including column resized and while the column is being dragged. In this
event I can check the table.getColumnOrder() to see if has changed since
last time but this seems like a real hack and could be slow because of
all the events.

Anybody have a way to do this?

Andy Arhelger
Re: Column reorder event? [message #458879 is a reply to message #458874] Mon, 25 July 2005 14:35 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
You should be able to use ControlListener. What you are talking about
sounds like bugs. Can you enter a bug report with the code that is failing
for you? Thanks.

"Andy Arhelger" <juggle@us.ibm.com> wrote in message
news:dc2p5k$aj2$1@news.eclipse.org...
> Is there anyway I can hook into a column reorder for at table?
>
> I tried the controlMoved method on the ControlListener on TableColumn
> but this doesn't work very well. It gives me way too many events
> including column resized and while the column is being dragged. In this
> event I can check the table.getColumnOrder() to see if has changed since
> last time but this seems like a real hack and could be slow because of
> all the events.
>
> Anybody have a way to do this?
>
> Andy Arhelger
Previous Topic:Using FormLayout cannot get the actual size
Next Topic:Locatiing resources with SWT Browser and in-memory HTML
Goto Forum:
  


Current Time: Tue Oct 20 18:27:19 GMT 2020

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

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

Back to the top