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/MarkerImageProviderRegistry.java
}
	}
	
	new MarkerImageReader().readRegistry();
}
/**
 * Creates a descriptor for the marker provider extension
 * and add it to the list of providers.
 */
public void addProvider(IConfigurationElement element) {
	Descriptor desc = new Descriptor();
	desc.element = element;
	desc.pluginDescriptor = element.getDeclaringExtension().getDeclaringPluginDescriptor();
	desc.id = element.getAttribute(ATT_ID);
	desc.markerType = element.getAttribute(ATT_MARKER_TYPE);
	desc.imagePath = element.getAttribute(ATT_ICON);
	desc.className = element.getAttribute(ATT_PROVIDER_CLASS);
	if(desc.imagePath != null) {
		desc.imageDescriptor = getImageDescriptor(desc);
	}
	if(desc.className == null) {
		
		desc.element = null;
		desc.pluginDescriptor = null;
	}
	descriptors.add(desc);
}
/**
 * @see IWorkbenchAdapter#getImageDescriptor
 */