void () { @Nls StringBuilder buffer = new StringBuilder(); buffer.append(myExecutor.getId()); SingleConfigurationConfigurable<RunConfiguration> configuration = getConfigurable().getSelectedConfiguration(); if (configuration != null) { buffer.append(" - "); buffer.append(configuration.getNameText()); ReadAction.nonBlocking(() -> canRun(configuration.getSettings(), myExecutor)) .finishOnUiThread(ModalityState.current(), b -> setOKActionEnabled(b)) .expireWith(getDisposable()) .submit(AppExecutorUtil.getAppExecutorService()); } setTitle(buffer.toString()); }