Ejemplo n.º 1
0
 public EcoreSwitch()
 {
     if (modelPackage == null)
     {
         modelPackage = EcorePackageImpl.eINSTANCE;
     }
 }
Ejemplo n.º 2
0
        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;
            }
        }
Ejemplo n.º 3
0
 public EPackageImpl()
 {
     ecoreFactory = EcoreFactoryImpl.eINSTANCE;
     ecorePackage = EcorePackageImpl.eINSTANCE;
 }