@Override
  public void uiDataSnapshot(@NotNull DataSink sink) {
    super.uiDataSnapshot(sink);
    ExecutionConsole consoleView = getConsoleView();
    sink.set(LangDataKeys.CONSOLE_VIEW, consoleView instanceof ConsoleView o ? o : null);

    ExecutionEnvironment environment = myBuildDescriptor.getExecutionEnvironment();
    sink.set(LangDataKeys.RUN_PROFILE, environment == null ? null : environment.getRunProfile());
    sink.set(ExecutionDataKeys.EXECUTION_ENVIRONMENT, myBuildDescriptor.getExecutionEnvironment());
    sink.set(RESTART_ACTIONS, myBuildDescriptor.getRestartActions());
  }
@Override
  public void uiDataSnapshot(@NotNull DataSink sink)