Bug 127607 [Viewers] Remove deprecated DecoratingLabelProvider.UPDATE_LABEL
Just came across this one: /** * The UPDATE_LABEL flag indicates that the label should * be updated for the element passed to the validator. * @deprecated should be removed by 3.2 M5 */ public static final String UPDATE_LABEL = "UPDATE_LABEL";//$NON-NLS-1$
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/DecoratingLabelProvider.java
settings.setFont(((IFontDecorator) decorator).decorateFont(element));
		
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.jface.viewers.IColorProvider#getBackground(java.lang.Object)
	 */
	public Color getBackground(Object element) {
		if(provider instanceof IColorProvider)
			return ((IColorProvider) provider).getBackground(element);
		return null;
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.jface.viewers.IFontProvider#getFont(java.lang.Object)
	 */
	public Font getFont(Object element) {
		if(provider instanceof IFontProvider)
			return ((IFontProvider) provider).getFont(element);
		return null;
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.jface.viewers.IColorProvider#getForeground(java.lang.Object)
	 */
	public Color getForeground(Object element) {
		if(provider instanceof IColorProvider)
			return ((IColorProvider) provider).getForeground(element);
		return null;
	}