Bug 223976 [Decorators] Content type decorator: Updating missing
20080325 - Create a file 'a.xml' - in the editor paste <project name="Eclipse Views" default="export" basedir=".."> </project> as content - observe that the file image is still the original image - close the editor and reopen the file - now the editor shows the 'ANT' image
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/model/WorkbenchContentProvider.java
if ((changeFlags & IResourceDelta.REPLACED) != 0) {
			runnables.add(getRefreshRunnable(resource));
			return;
		}
		
		for (int i = 0; i < affectedChildren.length; i++) {
			processDelta(affectedChildren[i], runnables);
		}
		
		
		
		
		
		
		
		
		
		
		
		
		
		IResourceDelta[] addedChildren = delta
				.getAffectedChildren(IResourceDelta.ADDED);
		IResourceDelta[] removedChildren = delta
				.getAffectedChildren(IResourceDelta.REMOVED);
		if (addedChildren.length == 0 && removedChildren.length == 0) {
			return;
		}
		final Object[] addedObjects;