modelImporter.makeEcoreFileNamesUnique();
getModelImporter().adjustEPackages(new SubProgressMonitor(progressMonitor, 1));
  protected void adjustEPackages(IProgressMonitor progressMonitor)  {    try    {      progressMonitor.beginTask("", 2);      super.adjustEPackages(new SubProgressMonitor(progressMonitor, 1));      for (Iterator i = getModelImporter().getEPackages().iterator(); i.hasNext();)      {        EPackage ePackage = (EPackage)i.next();        String nsURI = ExtendedMetaData.INSTANCE.getNamespace(ePackage);        if (nsURIToPackageName != null)        {          String packageName = (String)nsURIToPackageName.get(nsURI);          if (packageName != null)          {            ePackage.setName(packageName);          }          getModelImporter().adjustEPackage(ePackage);        }        handleEPackage(ePackage, packages == null || packages.isEmpty() || packages.contains(nsURI));      }      modelImporter.makeEcoreFileNamesUnique();    }    finally    {      progressMonitor.done();    }  }