プラグインからプロジェクトにファイル作成
// プロジェクトに新しいファイルを作成する。 private IFile createFile(IProject project, String path, String content) throws CoreException { IFile file = project.getFile(path); InputStream io = new ByteArrayInputStream(content.getBytes()); file.create(io, true, null); return file; }