[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Does jface databinding support treeviewer?

The input is contentProvider.getKnownElements().
I do not see the elements returned by contentProvider.getKnownElements() are used in the implementation of PersonGroupLabelProvider. It looks like the PersonGroupLabelProvider has not relation with the content provider at all.

You need to implement ITableLabelProvider so that the tree viewer will
recognize that your label provider supports columns.
Why does PersonGroupLabelProvider need to extends ListeneingLabelProvider? Is only implementing ITableLabelProvider enough?


Your explanation is very helpful. Thanks a lot.

Hao