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
boolean decorationReady = true;
        if (currentDecorator instanceof IDelayedLabelDecorator) {
            IDelayedLabelDecorator delayedDecorator = (IDelayedLabelDecorator) currentDecorator;
            if (!delayedDecorator.prepareDecoration(element, oldText)) {
                
                decorationReady = false;
            }
        }
        
        if (provider instanceof ITreePathLabelProvider) {
			ITreePathLabelProvider pprov = (ITreePathLabelProvider) provider;
			if (decorationReady || oldText == null
	                || settings.getText().length() == 0)
				pprov.updateLabel(settings, elementPath);
		} else {
	        if (decorationReady || oldText == null
	                || settings.getText().length() == 0)
	            settings.setText(getText(element));
	
	        Image oldImage = settings.getImage();
	        if (decorationReady || oldImage == null) {
	            settings.setImage(getImage(element));
	        }
	 
	        if(decorationReady)
	        	updateForDecorationReady(settings,element);
		}
	}
}