/** * @param contentService A content service to filter the visible filters. * @param aParent The parent used to search for a sorter. * @return The set of filters that are 'visible' to the given viewer descriptor. */ public CommonSorterDescriptor[] findApplicableSorters( NavigatorContentService contentService, Object aParent) { INavigatorContentDescriptor sourceOfContribution = contentService.getSourceOfContribution(aParent); return findApplicableSorters(contentService, sourceOfContribution, aParent); }