|
Re: Display values in GroupBy tree nodes [message #1065477 is a reply to message #1065460] |
Tue, 25 June 2013 17:10  |
Eclipse User |
|
|
|
Well the issue is the generic approach for group by. Technically the values that are displayed then are not of your object type, but of type GroupByObject. I started looking into this when I created the _5832_GroupByCustomTypesExample which is currently only available in the repository and not yet released with the examples.
I wasn't able to solve that issue in general easily. It is not that simple to get the display converter, as the GroupByObject is not aware of the cells that are used to group by. I guess a bigger refactoring of the whole group by solution would be necessary as it is not a trivial task.
In the example I helped myself by adding a toString() method that technically does the same as the IDisplayConverter.canonicalToDisplayValue()
|
|
|
Powered by
FUDForum. Page generated in 0.03038 seconds