File () { FileChooserDescriptor fcd = FileChooserDescriptorFactory.createSingleFileOrFolderDescriptor(); fcd.setShowFileSystemRoots(true); fcd.setTitle(message("dialog.title.save.unified.diff")); fcd.setDescription(message("label.select.file.to.save.unified.diff")); fcd.setHideIgnored(false); VirtualFile file = FileChooser.chooseFile(fcd, myBrowser, myProject, null); if (file == null) { return null; } return virtualToIoFile(file); }