Source:
public void start(BundleContext context) throws Exception { super.start(context); plugin = this; IExtensionRegistry extensionRegistry = Platform.getExtensionRegistry(); groupProviderRegistry = new DifferenceGroupRegistryImpl(); groupProviderRegistryListener = new DifferenceGroupProviderExtensionRegistryListener(PLUGIN_ID, GROUP_PROVIDER_PPID, getLog(), groupProviderRegistry); extensionRegistry.addListener(groupProviderRegistryListener, PLUGIN_ID + "." + GROUP_PROVIDER_PPID); groupProviderRegistryListener.readRegistry(extensionRegistry); filterRegistry = new DifferenceFilterRegistryImpl(); filterRegistryListener = new DifferenceFilterExtensionRegistryListener(PLUGIN_ID, FILTER_PROVIDER_PPID, getLog(), filterRegistry); extensionRegistry.addListener(filterRegistryListener, PLUGIN_ID + "." + FILTER_PROVIDER_PPID); filterRegistryListener.readRegistry(extensionRegistry); accessorFactoryRegistry = new AccessorFactoryRegistryImpl(); accessorFactoryRegistryListener = new AccessorFactoryExtensionRegistryListener(PLUGIN_ID, ACCESSOR_FACTORY_PPID, getLog(), accessorFactoryRegistry); extensionRegistry.addListener(accessorFactoryRegistryListener, PLUGIN_ID + "." + ACCESSOR_FACTORY_PPID); accessorFactoryRegistryListener.readRegistry(extensionRegistry); differenceGroupExtenderRegistry = new DifferenceGroupExtenderRegistryImpl(); differenceGroupExtenderRegistryListener = new DifferenceGroupExtenderRegistryListener(PLUGIN_ID, DIFFERENCE_GROUP_EXTENDER_PPID, getLog(), differenceGroupExtenderRegistry); extensionRegistry.addListener(differenceGroupExtenderRegistryListener, PLUGIN_ID + "." + DIFFERENCE_GROUP_EXTENDER_PPID); differenceGroupExtenderRegistryListener.readRegistry(extensionRegistry); matchEngineConfiguratorRegistry = new ConcurrentHashMap<String, IConfigurationUIFactory>(); matchEngineConfiguratorRegistryListener = new ConfigurationUIRegistryEventListener(PLUGIN_ID, MATCH_ENGINE_FACTORY_CONFIGURATION_UI_PPID, getLog(), matchEngineConfiguratorRegistry, EMFCompareRCPPlugin.getDefault().getMatchEngineFactoryDescriptorRegistry()); extensionRegistry.addListener(matchEngineConfiguratorRegistryListener, PLUGIN_ID + "." + MATCH_ENGINE_FACTORY_CONFIGURATION_UI_PPID); matchEngineConfiguratorRegistryListener.readRegistry(extensionRegistry); }

Target:
public void start(BundleContext context) throws Exception { super.start(context); plugin = this; IExtensionRegistry extensionRegistry = Platform.getExtensionRegistry(); groupProviderRegistry = new DifferenceGroupRegistryImpl(); groupProviderRegistryListener = new DifferenceGroupProviderExtensionRegistryListener(PLUGIN_ID, GROUP_PROVIDER_PPID, getLog(), groupProviderRegistry); extensionRegistry.addListener(groupProviderRegistryListener, PLUGIN_ID + "." + GROUP_PROVIDER_PPID); groupProviderRegistryListener.readRegistry(extensionRegistry); filterRegistry = new DifferenceFilterRegistryImpl(); filterRegistryListener = new DifferenceFilterExtensionRegistryListener(PLUGIN_ID, FILTER_PROVIDER_PPID, getLog(), filterRegistry); extensionRegistry.addListener(filterRegistryListener, PLUGIN_ID + "." + FILTER_PROVIDER_PPID); filterRegistryListener.readRegistry(extensionRegistry); accessorFactoryRegistry = new AccessorFactoryRegistryImpl(); accessorFactoryRegistryListener = new AccessorFactoryExtensionRegistryListener(PLUGIN_ID, ACCESSOR_FACTORY_PPID, getLog(), accessorFactoryRegistry); extensionRegistry.addListener(accessorFactoryRegistryListener, PLUGIN_ID + "." + ACCESSOR_FACTORY_PPID); accessorFactoryRegistryListener.readRegistry(extensionRegistry); differenceGroupExtenderRegistry = new DifferenceGroupExtenderRegistryImpl(); differenceGroupExtenderRegistryListener = new DifferenceGroupExtenderRegistryListener(PLUGIN_ID, DIFFERENCE_GROUP_EXTENDER_PPID, getLog(), differenceGroupExtenderRegistry); extensionRegistry.addListener(differenceGroupExtenderRegistryListener, PLUGIN_ID + "." + DIFFERENCE_GROUP_EXTENDER_PPID); differenceGroupExtenderRegistryListener.readRegistry(extensionRegistry); matchEngineConfiguratorRegistry = new ConcurrentHashMap<String, IConfigurationUIFactory>(); matchEngineConfiguratorRegistryListener = new ConfigurationUIRegistryEventListener(PLUGIN_ID, MATCH_ENGINE_FACTORY_CONFIGURATION_UI_PPID, getLog(), matchEngineConfiguratorRegistry, EMFCompareRCPPlugin.getDefault().getMatchEngineFactoryDescriptorRegistry()); extensionRegistry.addListener(matchEngineConfiguratorRegistryListener, PLUGIN_ID + '.' + MATCH_ENGINE_FACTORY_CONFIGURATION_UI_PPID); matchEngineConfiguratorRegistryListener.readRegistry(extensionRegistry); }