Bug 123761 [Decorators] Add properties to decoration context
In order to support Team state decorations properly, I need the ability to associate properties with a decoration context. I will attach a patch.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/DecoratingLabelProvider.java
*/
    public void updateLabel(ViewerLabel settings, Object element) {
        ILabelDecorator currentDecorator = getLabelDecorator();
        String oldText = settings.getText();
        boolean decorationReady = true;
        if (currentDecorator instanceof IDelayedLabelDecorator) {
            IDelayedLabelDecorator delayedDecorator = (IDelayedLabelDecorator) currentDecorator;
            if (!delayedDecorator.prepareDecoration(element, oldText)) {
                
                decorationReady = false;
            }
        }
        
        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);
    }
	/**
	 * Decoration is ready. Update anything else for the settings.
	 * @param settings The object collecting the settings.
	 * @param element The Object being decorated.
	 * @since 3.1
	 */