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
* <p>
	 * The input must be an <code>Object[]</code> or <code>null</code>.
	 * </p>
	 * @param input the input of this viewer, or <code>null</code> if none
	 */
	public void setInput(Object newInput) {
		
		applyEditorValue();
		
		deactivateCellEditor();
		
		input = (Object[]) newInput;
		if (input == null)
			input = new Object[0];
		if (rootEntry != null) {
			rootEntry.setValues(input);
			
			updateChildrenOf(rootEntry, tableTree);
		}
	}
	/**
	 * Sets the message to be displayed in the status line. This message
	 * is displayed when there is no error message.
	 *
	 * @param message the message to be displayed, or <code>null</code>
	 */
	private void setMessage(String message) {
		
		if (statusLineManager != null)
			statusLineManager.setMessage(message);