void (@NotNull AnActionEvent e) { TableUtil.stopEditing(myTable); List<Pair<Integer, I18nizedPropertyData<D>>> selection = getSelectedDataWithIndices(); boolean mark = shouldMarkAsNonNls(selection); for (Pair<Integer, I18nizedPropertyData<D>> dataWithIndex : selection) { myKeyValuePairs.set(dataWithIndex.first, dataWithIndex.second.setMarkAsNonNls(mark)); } myTable.repaint(); }