TreeViewer inputChanged [message #327150] |
Fri, 11 April 2008 16:53 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: x_raajes.ugs.com
Is there a way for the TreeViewer to know when its input has changed (other
than from the content provider)?
I want my TreeViewer to re-evaluate the columns and add/remove new columns
based on the input that has been set. That input could be changed by, say,
doing a drill-down on one of the contents in the tree. However, I don't want
to use the inputChanged() of the content provider to do this
addition/removal of columns, since the content provider is a generic one and
used by other viewers also. I am not sure if I am missing something simple,
but is there a way I can add a listener on the TreeViewer that gets called
when the input has changed? I could then handle the columns inside that
listener.
|
|
|
Powered by
FUDForum. Page generated in 0.02840 seconds