@Override
  public void setSelected(@NotNull AnActionEvent event, boolean flag) {
    ConsoleView consoleView = getConsoleView(event);
    if (consoleView != null) {
      consoleView.setOutputPaused(flag);
    }
  }
@Override
  public void setSelected(@NotNull AnActionEvent event, boolean flag)