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
}
	public void addListener(ILabelProviderListener listener) {
		super.addListener(listener);
		if (this.decorator != null) {
			this.decorator.addListener(this.labelProviderListener);
		}
	}
	public void removeListener(ILabelProviderListener listener) {
		super.removeListener(listener);
		if (this.decorator != null) {
			this.decorator.removeListener(this.labelProviderListener);
		}
	}
	public boolean isLabelProperty(Object element, String property) {
		if (super.isLabelProperty(element, property)) {
			return true;
		}
		return this.decorator != null
				&& this.decorator.isLabelProperty(element, property);
	}
	public void dispose() {
		super.dispose();
		if (this.decorator != null) {
			this.decorator.removeListener(this.labelProviderListener);
			this.decorator.dispose();
			this.decorator = null;
		}
	}
}