void (AnActionButton button) { BeforeRunTaskAndProvider selection = getSelection(); if (selection != null) { RunConfigurationOptionUsagesCollector.logRemoveBeforeRunTask( myRunConfiguration.getProject(), myRunConfiguration.getType().getId(), selection.getProvider().getClass()); ListUtil.removeSelectedItems(myList); } }