void (@NotNull Project p, @NotNull IdeaGateway gw, @NotNull AnActionEvent e) { VirtualFile f = Objects.requireNonNull(getFile(e)); VcsSelection sel = Objects.requireNonNull(VcsSelectionUtil.getSelection(this, e)); int from = sel.getSelectionStartLineNumber(); int to = sel.getSelectionEndLineNumber(); new SelectionHistoryDialog(p, gw, f, from, to).show(); }