void (@NotNull AnActionEvent e, boolean state) { Change change = e.getData(VcsDataKeys.CURRENT_CHANGE); if (change == null) return; if (state) { myViewer.includeChange(change); myViewer.logInclusionToggleEvents(false, e); } else { myViewer.excludeChange(change); myViewer.logInclusionToggleEvents(true, e); } }