Bug 45144 [PropertiesView] Properties View label provider does not clear the image
Properties View does not clear the image when the LabelProvider.getImage() retrns null. Attached exmaple: I have added onto the org.eclipse.ui.examples.propertysheet example to provide a ColorLabelProvider that returns null image for black and an image for all other colors. Select "richard" and note there are no image displayed. Now select an color besides black, and the color image appears as expected. Now select the color black and notice that the color image is still there.
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheetViewer.java
}
	/**
	 * Sets the root entry for this property sheet viewer.
	 * The root entry is not visible in the viewer.
	 * 
	 * @param root the root entry
	 */
	public void setRootEntry(IPropertySheetEntry root) {
		
		if (rootEntry != null)
			rootEntry.removePropertySheetEntryListener(entryListener);
		rootEntry = root;
		
		tableTree.setData(rootEntry);
		
		rootEntry.addPropertySheetEntryListener(entryListener);
		
		
		setInput(input);
	}
	/**
	 * The <code>PropertySheetViewer</code> implementation of this 
	 * <code>Viewer</code> method does nothing.
	 */
	public void setSelection(ISelection selection, boolean reveal) {
	}
	/**
	 * Sets the status line manager this view will use to show messages.
	 *
	 * @param manager the status line manager