Project: JDT
Bug 13036 Search LabelProviders should not override getText()
Reported: 2002-04-08 16:38:44 | Status: verified fixed

Three search subclasses of DecoratingLabel Provider override getText and do not use the label provider. They are org.eclipse.search.internal.ui.util.FileLabelProvider org.eclipse.jdt.internal.ui.search.JavaSearchResultLabelProvider org.eclipse.search.internal.ui.SearchResultLabelProvider. As a result if DecoratinglabelProvider wishes to implement ICombinedLabelDecorator it cannot as it cannot rely on its subclasses to use their label providers. These special code should be moved to the label providers for these classes.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultLabelProvider.java