tmf: Use basic comparators in TmfSimpleTableViewer
- Make the method createColumn() public and remove createColumns()
so that the class can be using without needing to be extended.
- Remove ViewerCompoundComparator. We can use basic
java.util.Comparator's in the analysis and the view, all the
way until we convert them to ViewerComparator's to pass to the
TableViewer object.
This will allow us to re-use comparators defined in the core
plugin. Chaining of multiple comparators can be done using
Guava's Ordering.compound() method.
- Support DeferredContentProvider which must be supplied with the
sort order and ignores the sorter set on the table viewer.
Remove the method sortOrderChanged().
Change-Id: I3acd9e79e5a2298707e67cd668c17cca1e428234
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/53584
Reviewed-by: Hudson CI
This page took 0.029044 seconds and 5 git commands to generate.