void (@NotNull AnActionEvent e) { ArrangementMatchingRulesControl control = getRulesControl(e); if (control == null) { return; } IntList rows = control.getSelectedModelRows(); if (rows.size() != 1) { return; } int row = rows.getInt(0); control.showEditor(row); scrollRowToVisible(control, row); }