void (@NotNull AnActionEvent e) { final DirDiffTableModel model = getModel(e); final JTable table = getTable(e); assert model != null && table != null; for (DirDiffElementImpl element : model.getSelectedElements()) { if (isEnabledFor(element)) { element.setOperation(getOperation(element)); } else { element.setOperation(DirDiffOperation.NONE); } } table.repaint(); }