Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 73979 | Differences between
and this patch

Collapse All | Expand All

(-)Eclipse UI/org/eclipse/ui/internal/decorators/DecoratorManager.java (-5 / +4 lines)
Lines 875-885 Link Here
875
        scheduler.queueForDecoration(element, getResourceAdapter(element),
875
        scheduler.queueForDecoration(element, getResourceAdapter(element),
876
                force, originalText, context); 
876
                force, originalText, context); 
877
877
878
        //If all that is there is deferred ones then defer decoration.
878
        // if we forced the decorator to update, then the caller can wait for the notification.
879
        //For the sake of efficiency we do not test for enablement at this
879
        // when notified he will update and get the light and full label decorations together
880
        //point and just abandon deferment if there are any to run right
880
        // if the decoration was not forced, he needs to decorate the label right away.
881
        //away
881
        return !force;
882
        return getFullDefinitions().length > 0;
883
    }
882
    }
884
883
885
    /* (non-Javadoc)
884
    /* (non-Javadoc)

Return to bug 73979