/** * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon * which it depends. * * <p>This method is used to initialize {@link MmPackage#eINSTANCE} when that field is accessed. * Clients should not invoke it directly. Instead, they should simply access that field to obtain * the package. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static MmPackage init() { if (isInited) return (MmPackage) EPackage.Registry.INSTANCE.getEPackage(MmPackage.eNS_URI); // Obtain or create and register package MmPackageImpl theMmPackage = (MmPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof MmPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new MmPackageImpl()); isInited = true; // Obtain or create and register interdependencies PictogramsPackageImpl thePictogramsPackage = (PictogramsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(PictogramsPackage.eNS_URI) instanceof PictogramsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PictogramsPackage.eNS_URI) : PictogramsPackage.eINSTANCE); AlgorithmsPackageImpl theAlgorithmsPackage = (AlgorithmsPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(AlgorithmsPackage.eNS_URI) instanceof AlgorithmsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AlgorithmsPackage.eNS_URI) : AlgorithmsPackage.eINSTANCE); StylesPackageImpl theStylesPackage = (StylesPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(StylesPackage.eNS_URI) instanceof StylesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(StylesPackage.eNS_URI) : StylesPackage.eINSTANCE); // Create package meta-data objects theMmPackage.createPackageContents(); thePictogramsPackage.createPackageContents(); theAlgorithmsPackage.createPackageContents(); theStylesPackage.createPackageContents(); // Initialize created meta-data theMmPackage.initializePackageContents(); thePictogramsPackage.initializePackageContents(); theAlgorithmsPackage.initializePackageContents(); theStylesPackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed theMmPackage.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(MmPackage.eNS_URI, theMmPackage); return theMmPackage; }