History (@NotNull AbstractVcsLogUi ui) { History history = new History(new VcsLogPlaceNavigator(ui)); ui.getTable().getSelectionModel().addListSelectionListener((e) -> { if (!history.isNavigatingNow() && !e.getValueIsAdjusting()) { history.pushQueryPlace(); } }); return history; }