Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TableTree refresh does not preserve expansions
TableTree refresh does not preserve expansions [message #459960] Sun, 21 August 2005 15:51 Go to next message
Carolyn Duby is currently offline Carolyn Duby
Messages: 30
Registered: July 2009
Member
I am using a TableTree with a TableTreeViewer. Calling refresh on the
TableTreeViewer after modifications to the table collapses elements that
were previously expanded. Is there any setting on the TableTreeViewer
that will preserve expansions when refreshing?

Thanks
Carolyn
Re: TableTree refresh does not preserve expansions [message #460064 is a reply to message #459960] Sun, 21 August 2005 17:11 Go to previous message
Carolyn Duby is currently offline Carolyn Duby
Messages: 30
Registered: July 2009
Member
I found the problem. I had an unnecessary call to setInput on the viewer.
When I removed it, the problem went away.

Thanks
Carolyn

Carolyn Duby wrote:

> I am using a TableTree with a TableTreeViewer. Calling refresh on the
> TableTreeViewer after modifications to the table collapses elements that
> were previously expanded. Is there any setting on the TableTreeViewer
> that will preserve expansions when refreshing?

> Thanks
> Carolyn
Previous Topic:SWT_AWT trigger popup menu with contributions
Next Topic:TableViewer ICellModifier not working on Dialog
Goto Forum:
  


Current Time: Fri Jul 25 13:45:25 EDT 2014

Powered by FUDForum. Page generated in 0.01669 seconds