URI.createPlatformResourceURI(file.getFullPath().toString()),
URI.createPlatformResourceURI(file.getFullPath().toString(), true),
  protected Ecore2EcoreMappingRoot getMappingRoot(IStructuredSelection structuredSelection)  {    if (IFile.class.isInstance(structuredSelection.getFirstElement()))    {      IFile file = (IFile)structuredSelection.getFirstElement();      if (ECORE2ECORE_FILE_EXTENSION.equals(file.getFullPath().getFileExtension()))      {        return (Ecore2EcoreMappingRoot)EcoreUtil.getObjectByType(new ResourceSetImpl().getResource(          URI.createPlatformResourceURI(file.getFullPath().toString()),          true).getContents(), Ecore2EcorePackage.eINSTANCE.getEcore2EcoreMappingRoot());      }    }    return null;  }