Bug 46393 [RCP] Lost nature icon on project
N20031111 start fresh workspace, create a Java project ==> missing nature icon "J"
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/registry/ProjectImageRegistryReader.java
}
	String natureId = element.getAttribute(ATT_NATURE_ID);
	if (natureId == null) {
		logMissingAttribute(element, ATT_NATURE_ID);
		return true;
	}
	String icon = element.getAttribute(ATT_ICON);
	if (icon == null) {
		logMissingAttribute(element, ATT_ICON);
		return true;
	}
	IExtension extension = element.getDeclaringExtension();
	String extendingPluginId =
		extension.getDeclaringPluginDescriptor().getUniqueIdentifier();
	ImageDescriptor image =
		AbstractUIPlugin.imageDescriptorFromPlugin(extendingPluginId, icon);
	if (image != null)	
		registry.setNatureImage(natureId, image);
		
	return true;
}
/**
 * Read the project nature images within a registry.
 */
public void readProjectNatureImages(IPluginRegistry in, ProjectImageRegistry out) {
	registry = out;
	readRegistry(in, PlatformUI.PLUGIN_ID, IDEWorkbenchPlugin.PL_PROJECT_NATURE_IMAGES);
}
}