Bug 226277 project explorer should support colored labels
3.4 M6 The attached patch allows the project explorer to have colored label. The label provider returned by the navigator content can now additionally implement IStyledLabelProvider to provide colored labels. No API changes required.
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorContentServiceLabelProvider.java
}
	
	/**
	 * Search for text label and take overrides into account. 
	 * Uses only simple ITreeContentProvider.getParent() style semantics. 
	 */
	private String findText(NavigatorContentExtension foundExtension, Object anElement) { 
		String text = null; 
		INavigatorContentDescriptor foundDescriptor;  
		text = foundExtension.getLabelProvider().getText(anElement); 
		if(text == null && (foundDescriptor = foundExtension.getDescriptor()).getOverriddenDescriptor() != null) {
			return findText(contentService.getExtension(foundDescriptor.getOverriddenDescriptor()), anElement);
		}  
		return text;
	}
	
	/**
	 * Search for image and take overrides into account. 
	 * Uses only simple ITreeContentProvider.getParent() style semantics. 
	 */
	private Image findImage(NavigatorContentExtension foundExtension, Object anElement) { 
		Image image = null;
		INavigatorContentDescriptor foundDescriptor;  
		image = foundExtension.getLabelProvider().getImage(anElement); 
		if(image == null && (foundDescriptor = foundExtension.getDescriptor()).getOverriddenDescriptor() != null) {
			return findImage(contentService.getExtension(foundDescriptor.getOverriddenDescriptor()), anElement);
		}  
		return image;
	}