Adding files created during a wizard plugin in the Project View


I am implementing a project wizard plugin which add files/directories in the "new project directory". I was expecting the Project View to display these files when I use the psi API (VfsUtil.saveText(FirtualFile,text)) to create them but it does not. I also tried to "refresh" the project view "manually" once the new project is opened (with a projectManagerListener) but it doesn't work neither.

I was wondering if I have missed some steps. Is there some particular task to complete in order to update the Project View ?