{@link RosterGroupElement}s and {@link RosterEntryElement}s are sorted alphabetically.
First {@link RosterGroupElement}s and then {@link RosterEntryElement}s are displayed.
15161718192021
*/ public class RosterSessionComparator extends ViewerComparator { protected RosterComparator rosterComparator; public RosterSessionComparator() { this.rosterComparator = new RosterComparator(); }
102103104105106107108109
@Override protected void configureViewer() { this.viewer.setContentProvider(new RosterContentProvider()); this.viewer.setLabelProvider(new TreeLabelProvider()); this.viewer.setComparator(new RosterComparator()); this.viewer.setUseHashlookup(true); }