if (selectedFile == null
|| props == null
|| targetPart == null) {
return;
}
VersionChooserDialog dialog =
new VersionChooserDialog(targetPart.getSite().getShell(),
selectedFile.getName(),
getVersionEntries());
if (dialog.open() == VersionChooserDialog.OK) {
updateSelectedFile(dialog.getSelectedEntry());
PlatformUtils.updateDecoration();
}
}