Bug 96114 [IDE] should remove dependency on IPluginRegistry
We should remove our dependency on IPluginRegistry in favour of the new IExtensionRegistry. This should be a trivial migration.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/registry/MarkerImageProviderRegistry.java
if (desc.className != null) {
                    	if (desc.pluginBundle.getState()==Bundle.ACTIVE) {
                            
                            
                            
                            
                            if (desc.provider == null)
                                desc.provider = (IMarkerImageProvider) IDEWorkbenchPlugin
                                        .createExtension(desc.element,
                                                ATT_PROVIDER_CLASS);
                            String path = desc.provider.getImagePath(marker);
                            if (path != desc.imagePath) {
                                desc.imagePath = path;
                                desc.imageDescriptor = getImageDescriptor(desc);
                                return desc.imageDescriptor;
                            }
                            return desc.imageDescriptor;
                        } else {
                            if (desc.imageDescriptor == null) {
                                
                                desc.imagePath = (String) marker
                                        .getAttribute(MARKER_ATT_KEY);
                                desc.imageDescriptor = getImageDescriptor(desc);
                            }
                            return desc.imageDescriptor;
                        }
                    } else if (desc.imageDescriptor != null) {
                        return desc.imageDescriptor;
                    }
                }