void (Condition<? super RunnerAndConfigurationSettings> condition) { RunContentManagerImpl runContentManager = (RunContentManagerImpl)RunContentManager.getInstance(myProject); List<RunContentDescriptor> descriptors = ExecutionManager.getInstance(myProject).getRunningDescriptors(condition); for (RunContentDescriptor descriptor : descriptors) { Content content = descriptor.getAttachedContent(); if (content == null) continue; Executor executor = RunContentManagerImpl.getExecutorByContent(content); if (executor == null) continue; descriptor.setContentToolWindowId(getToolWindowId()); runContentManager.moveContent(executor, descriptor); } }