File file = askForFile(true);
if (file == null) {
return;
}
IVersionSelector versionSelector = new IVersionSelector() {
public IFileVersion selectVersion(List<IFileVersion> availableVersions) {
return new SelectionMenu<IFileVersion>(availableVersions, "Choose the version you want to recover.")
.openAndSelect();
}