public EPackageImpl(String packageURI, EFactory factory) : base() { //TODO registry if (factory == EcoreFactoryImpl.eINSTANCE) { ecorePackage = (EcorePackage)this; ecoreFactory = (EcoreFactory)factory; } else { ecorePackage = EcorePackageImpl.eINSTANCE; ecoreFactory = EcoreFactoryImpl.eINSTANCE; } }
public EPackageImpl() { ecoreFactory = EcoreFactoryImpl.eINSTANCE; ecorePackage = EcorePackageImpl.eINSTANCE; }