void (@NotNull AnActionEvent e) { Project project = e.getRequiredData(CommonDataKeys.PROJECT); Change[] changes = e.getRequiredData(VcsDataKeys.SELECTED_CHANGES); openRepositoryVersion(project, changes); }