// Initialize simple dependencies
EcorePackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
ElementPackageImpl theElementPackage = (ElementPackageImpl) (EPackage.Registry.INSTANCE
.getEPackage(ElementPackage.eNS_URI) instanceof ElementPackageImpl ? EPackage.Registry.INSTANCE
.getEPackage(ElementPackage.eNS_URI) : ElementPackage.eINSTANCE);
ProjectPackageImpl theProjectPackage = (ProjectPackageImpl) (EPackage.Registry.INSTANCE
.getEPackage(ProjectPackage.eNS_URI) instanceof ProjectPackageImpl ? EPackage.Registry.INSTANCE
.getEPackage(ProjectPackage.eNS_URI) : ProjectPackage.eINSTANCE);
// Create package meta-data objects
theRenderPackage.createPackageContents();
theElementPackage.createPackageContents();
theProjectPackage.createPackageContents();
// Initialize created meta-data
theRenderPackage.initializePackageContents();
theElementPackage.initializePackageContents();
theProjectPackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
theRenderPackage.freeze();