Bug 256764 [Viewers] Does DecoratingStyledCellLabelProvider add/remove the correct listener to/from the decorator
Build ID: M20080911-1700 Steps To Reproduce: Add multiple ILabelProviderListeners to a DecoratingStyledCellLabelProvider and remove one of them. Now the decoration does not work anymore. More information: In the methods addListener and removeListener, the internal labelProviderListener is added/removed to/from the decorator. Maybe this should be the listener that comes as parameter.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/DecoratingStyledCellLabelProvider.java
StyledString newString = new StyledString(decorated
					.substring(0, originalStart), style);
			newString.append(styledString);
			styledString = newString;
		}
		if (decorated.length() > originalStart + label.length()) { 
																	
																	
			return styledString.append(decorated.substring(originalStart
					+ label.length()), style);
		}
		return styledString;
	}
	/**
	 * Sets the {@link StyledString.Styler} to be used for string
	 * decorations. By default the
	 * {@link StyledString#DECORATIONS_STYLER decoration style}. Clients
	 * can override.
	 * 
	 * Note that it is the client's responsibility to react on color changes of
	 * the decoration color by refreshing the view
	 * 
	 * @param element
	 *            the element that has been decorated
	 * 
	 * @return return the decoration style
	 */
	protected Styler getDecorationStyle(Object element) {
		return StyledString.DECORATIONS_STYLER;
	}