Bug 315281 update copyrights for 3.6
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/sorters/NavigatorSorterService.java
}
		}
		return null;
	}
	/* (non-Javadoc)
	 * @see org.eclipse.ui.navigator.INavigatorSorterService#findAvailableSorters(org.eclipse.ui.navigator.INavigatorContentDescriptor)
	 */
	public Map findAvailableSorters(INavigatorContentDescriptor theSource) {
		
		CommonSorterDescriptor[] descriptors = CommonSorterDescriptorManager.getInstance().findApplicableSorters(theSource);
		Map sorters = new HashMap();
		int count = 0;
		for (int i = 0; i < descriptors.length; i++) {
			if(descriptors[i].getId() != null && descriptors[i].getId().length() > 0)
				sorters.put(descriptors[i].getId(), getSorter(descriptors[i]));
			else 
				sorters.put(theSource.getId()+".sorter."+ (++count), getSorter(descriptors[i])); 
		}
		return sorters;
	} 
	
	/* (non-Javadoc)
	 * @see org.eclipse.ui.internal.navigator.VisibilityAssistant.VisibilityListener#onVisibilityOrActivationChange()
	 */
	public void onVisibilityOrActivationChange() {
		computeSortOnlyDescriptors();
	}
	
}