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