Class<?> javaClass = Platform.getBundle(element.getDeclaringExtension().getContributor().getName()).loadClass(element.getAttribute(attributeName));
return (EFactory)javaClass.newInstance();
}
catch (ClassNotFoundException e)
{
throw new WrappedException(e);
}
catch (IllegalAccessException e)
{
throw new WrappedException(e);
}
catch (InstantiationException e)
{
throw new WrappedException(e);
}
}