Bug 55012 ResourceToItemMapper should take into account new IViewLabelProvider
ResourceToItemMapper should take into account new IViewLabelProvider to prevent the flashing in the packages view when decorators update. I will attach a modified version of the class.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ResourceToItemsMapper.java
private static final int NUMBER_LIST_REUSE= 10;
	
	private HashMap fResourceToItem;
	private Stack fReuseLists;
	
	private ContentViewer fContentViewer;
	public ResourceToItemsMapper(ContentViewer viewer) {
		fResourceToItem= new HashMap();
		fReuseLists= new Stack();
		
		fContentViewer= viewer;
	}
	/**
	 * Must be called from the UI thread.
	 */
	public void resourceChanged(IResource changedResource) {
		Object obj= fResourceToItem.get(changedResource);
		if (obj == null) {
			
		} else if (obj instanceof Item) {
			updateItem((Item) obj);
		} else { 
			List list= (List) obj;
			for (int k= 0; k < list.size(); k++) {
				updateItem((Item) list.get(k));
			}
		}
	}