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
entrySelectionChanged();
	}
	/**
	 * Update the given entry (but not its children or parent)
	 *
	 * @param node the entry we will update
	 * @param item the tree item for the given entry
	 */
	private void updateEntry(IPropertySheetEntry entry, TableTreeItem item) {
		
		item.setData(entry);
		
		item.setText(0, entry.getDisplayName());
		item.setText(1, entry.getValueAsString());
		Image image = entry.getImage();
		if (image != null)
			item.setImage(1, image);
			
		updatePlus(entry, item);
	}
	/**
	 * Updates the "+"/"-" icon of the tree item from the given entry
	 * or category.
	 *
	 * @parem node the entry or category
	 * @param item the table tree item being updated
	 */
	private void updatePlus(Object node, TableTreeItem item) {