List<AnAction> (@NotNull Runnable onChanged) { return Collections.singletonList(new CheckBoxSearchEverywhereToggleAction(includeNonProjectItemsText()) { @Override public boolean isEverywhere() { return myDisabledActions; } @Override public void setEverywhere(boolean state) { myDisabledActions = state; onChanged.run(); } }); }