Project: JDT
Bug 9774 ProblemTreeViewer does not handle adaptable label updates
Reported: 2002-02-13 15:50:42 | Status: resolved fixed

If a label update event comes to the ProblemTreeViewer whose element is an IResource the update does not occur as handleLabelProviderChanged (LabelProviderChangedEvent event)checks for an item by equality and does not handle the case where a resource is the element for an event but objects that adapt to resources are being shown. In the case of the ProbemTreeViewer java objects are being shown. When handleLabelProviderChanged the event element may be a resource which the regular TreeViewer would not find. ProbemTreeViewer will have to handle this case. This is currently an issue for the CVS Decorator as this it sends updates for a specific resource.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java