void (AnActionButton button) { if (TableUtil.doRemoveSelectedItems(table, model, this)) { IdeFocusManager.getGlobalInstance().doWhenFocusSettlesDown(() -> IdeFocusManager.getGlobalInstance().requestFocus(table, true)); TableUtil.updateScroller(table); } }