}
VersionChooserDialog dialog =
new VersionChooserDialog(targetPart.getSite().getShell(),
selectedFile.getName(),
getVersionEntries());
if (dialog.open() == VersionChooserDialog.OK) {
compareWithSelectedVersion(dialog.getSelectedEntry());
}
}
private void compareWithSelectedVersion(ResourceHistoryEntry revision) {