void (@NotNull CommitListPanel sourcePanel, @NotNull CommitListPanel otherPanel, @NotNull SimpleAsyncChangesBrowser changesBrowser) { sourcePanel.addListMultipleSelectionListener(changes -> { changesBrowser.setChangesToDisplay(changes); otherPanel.clearSelection(); }); }