@Nullable
    private BuildView createBuildView(@NotNull Executor executor,
                                      @NotNull BuildDescriptor descriptor,
                                      @NotNull ProcessHandler processHandler) throws ExecutionException {
      ConsoleView console = createConsole(executor, processHandler, myConfiguration.getProject());
      if (console == null) {
        return null;
      }
      Project project = myConfiguration.getProject();
      ExternalSystemRunConfigurationViewManager viewManager = project.getService(ExternalSystemRunConfigurationViewManager.class);
      return new BuildView(project, console, descriptor, "build.toolwindow.run.selection.state", viewManager) {
        @Override
        public void onEvent(@NotNull Object buildId, @NotNull BuildEvent event) {
          super.onEvent(buildId, event);
          viewManager.onEvent(buildId, event);
        }
      };
    }
@Nullable
    private BuildView createBuildView(@NotNull Executor executor,
                                      @NotNull BuildDescriptor descriptor,
                                      @NotNull ProcessHandler processHandler)