void (Condition<? super RunnerAndConfigurationSettings> condition) { RunContentManagerImpl runContentManager = (RunContentManagerImpl)RunContentManager.getInstance(myProject); for (RunDashboardService service : getRunConfigurations()) { Content content = service.getContent(); if (content == null || !condition.value(service.getSettings())) continue; RunContentDescriptor descriptor = RunContentManagerImpl.getRunContentDescriptorByContent(content); if (descriptor == null) continue; Executor executor = RunContentManagerImpl.getExecutorByContent(content); if (executor == null) continue; descriptor.setContentToolWindowId(null); updateContentToolbar(content, true); runContentManager.moveContent(executor, descriptor); } }