Added a version of EcoreGenerator.generate() that works with a File instead of an IFile. In-Eclipse behaviour should remain unaffected.