* extension point and remembers those implementers based on the name extensions and the editor input
* types they are for.
*/
private void initialize() {
IExtensionPoint extensionPoint;
extensionPoint= Platform.getExtensionRegistry().getExtensionPoint(EditorsUI.PLUGIN_ID, "documentProviders"); //$NON-NLS-1$
if (extensionPoint == null) {
String msg= NLSUtility.format(TextEditorMessages.DocumentProviderRegistry_error_extension_point_not_found, PlatformUI.PLUGIN_ID);
Bundle bundle = Platform.getBundle(PlatformUI.PLUGIN_ID);
ILog log= Platform.getLog(bundle);
log.log(new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID, IStatus.OK, msg, null));
return;
}
IConfigurationElement[] elements= extensionPoint.getConfigurationElements();
for (int i= 0; i < elements.length; i++) {
read(fExtensionMapping, elements[i], "extensions"); //$NON-NLS-1$
read(fInputTypeMapping, elements[i], "inputTypes"); //$NON-NLS-1$
}
}