/** {@inheritDoc} */
  @Override
  public void onProjectClosed(@NotNull ProjectActionEvent projectActionEvent) {
    partStack.hidePart(this);

    selectionManager.setRunner(null);

    templateContainer.setVisible(false);

    view.setEnableRunButton(false);
    view.setEnableReRunButton(false);
    view.setEnableStopButton(false);
    view.setEnableLogsButton(false);

    view.setApplicationURl(null);
    view.setDebugPort(null);
    view.setTimeout(TIMER_STUB);

    history.clear();
    runnerActions.clear();

    runnerCounter.reset();
    terminalContainer.reset();
    consoleContainer.reset();
    propertiesContainer.reset();

    getRunningProcessAction.stop();
    propertiesContainer.show((Runner) null);
  }
 private void showNoRunnerMessage(boolean isVisible) {
   terminalContainer.setVisibleNoRunnerLabel(isVisible);
   consoleContainer.setVisibleNoRunnerLabel(isVisible);
   propertiesContainer.setVisibleNoRunnerLabel(isVisible);
 }