* @param id the unique id of the extension point
* @return null if the ExtensionPoint is not registered
*/
public ExtensionPoint getExtensionPoint(String id)
{
IExtensionPoint eclipseExPoint = RegistryFactory.getRegistry().getExtensionPoint(id);
Bundle plugin = new Bundle(eclipseExPoint.getContributor().getName(),"","","",null);
org.osgi.framework.Bundle bundle = Platform.getBundle(eclipseExPoint.getContributor().getName());
try
{
ExtensionPoint exPoint = new ExtensionPoint(eclipseExPoint.getSimpleIdentifier(),eclipseExPoint.getLabel(),bundle.getResource(eclipseExPoint.getSchemaReference()),plugin);
for( int e=0; e<eclipseExPoint.getExtensions().length; e++)
{
Bundle pluginEx = new Bundle(eclipseExPoint.getExtensions()[e].getContributor().getName(),"","","",null);
Extension ex = new Extension(exPoint, pluginEx);
configurationElement(ex,eclipseExPoint.getExtensions()[e].getConfigurationElements(),null);
exPoint.addExtension(ex);
}
return exPoint;
}
catch (InvalidRegistryObjectException e)