Filter capability on CompositeTable [message #35938] |
Thu, 31 May 2007 13:18  |
Eclipse User |
|
|
|
Is there a filtering capability for CompositeTable?
Something equivalent to the ViewerFilter infrastructure available in the
JFace TableViewer?
If there is can someone point me to some sample code if anything exists.
Regards,
Calman Steynberg
|
|
|
Re: Filter capability on CompositeTable [message #38141 is a reply to message #35938] |
Fri, 03 August 2007 18:04  |
Eclipse User |
|
|
|
There is currently no JFace level API for CompositeTable, so the answer is
no. I'd definitely like to see this, though. There is some discussion on
the nebula-dev mailing list about how to do this.
http://dev.eclipse.org/mhonarc/lists/nebula-dev/msg00334.htm l
There hasn't been very much progress since then -- partly because Dave
Orme (the original author) has been out of touch for a few months. (He's
probably sick of me mentioning this by now. Sorry, Dave. You're a victim
of your own success.)
If you'd like to contribute a Viewer implementation for CompositeTable, it
shouldn't be too difficult to get it working. Most of the logic in
AbstractListViewer and ListViewer will apply, except that the item data
model is an arbitrary Object instead of a String. The last post in the
thread explains this in a bit more detail:
http://dev.eclipse.org/mhonarc/lists/nebula-dev/msg00341.htm l
Happy coding!
--
Peter
|
|
|
Re: Filter capability on CompositeTable [message #583827 is a reply to message #35938] |
Fri, 03 August 2007 18:04  |
Eclipse User |
|
|
|
There is currently no JFace level API for CompositeTable, so the answer is
no. I'd definitely like to see this, though. There is some discussion on
the nebula-dev mailing list about how to do this.
http://dev.eclipse.org/mhonarc/lists/nebula-dev/msg00334.htm l
There hasn't been very much progress since then -- partly because Dave
Orme (the original author) has been out of touch for a few months. (He's
probably sick of me mentioning this by now. Sorry, Dave. You're a victim
of your own success.)
If you'd like to contribute a Viewer implementation for CompositeTable, it
shouldn't be too difficult to get it working. Most of the logic in
AbstractListViewer and ListViewer will apply, except that the item data
model is an arbitrary Object instead of a String. The last post in the
thread explains this in a bit more detail:
http://dev.eclipse.org/mhonarc/lists/nebula-dev/msg00341.htm l
Happy coding!
--
Peter
|
|
|
Powered by
FUDForum. Page generated in 0.04852 seconds