Package org.eclipse.emf.ecore.impl

Examples of org.eclipse.emf.ecore.impl.EPackageRegistryImpl


        this(new SDOExtendedMetaDataImpl(new EPackageRegistryImpl(getBuiltInModelRegistry())), extensibleNamespaces);
    }


    public HelperContextImpl(boolean extensibleNamespaces, Map options) {
        this(new SDOExtendedMetaDataImpl(new EPackageRegistryImpl(getBuiltInModelRegistry())), extensibleNamespaces,
             options);
    }
View Full Code Here


    static protected EPackage.Registry builtInModelRegistry = null;

    static public EPackage.Registry getBuiltInModelRegistry() {
        if (builtInModelRegistry == null) {
            EPackageRegistryImpl registry = new EPackageRegistryImpl();
            for (Iterator iter = TypeHelperImpl.getBuiltInModels().iterator(); iter.hasNext();) {
                EPackage ePackage = (EPackage)iter.next();
                registry.put(ePackage.getNsURI(), ePackage);
            }
           
            registry.put(EcorePackage.eNS_URI, EcorePackage.eINSTANCE);
            registry.put(XMLTypePackage.eNS_URI, XMLTypePackage.eINSTANCE);
            registry.put(ChangePackage.eNS_URI, ChangePackage.eINSTANCE);
            registry.put(XMLNamespacePackage.eNS_URI, XMLNamespacePackage.eINSTANCE);
            registry.put(SDOPackage.eNS_URI, SDOPackage.eINSTANCE);
           
            builtInModelRegistry = registry;
        }
        return builtInModelRegistry;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.emf.ecore.impl.EPackageRegistryImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.