/** {@inheritDoc} */
  @Override
  public void onToggleSplitterClicked(boolean isShowSplitter) {
    terminalTab.setScopes(isShowSplitter ? EnumSet.allOf(State.class) : EnumSet.of(RUNNERS));

    if (isShowSplitter) {
      panelState.setSplitterState(SPLITTER_ON);

      view.setLeftPropertiesPanel(leftPropertiesContainer);
      view.setRightPropertiesPanel(rightPropertiesContainer);
    } else {
      panelState.setSplitterState(SPLITTER_OFF);

      view.setGeneralPropertiesPanel(rightPropertiesContainer);
    }

    if (TEMPLATE.equals(state)) {
      panelState.setState(TEMPLATE);

      leftTabContainer.showTab(locale.runnerTabTemplates());

      if (SPLITTER_OFF.equals(panelState.getSplitterState())) {
        rightPropertiesContainer.showTab(propertiesTab.getTitle());
      }
    }
  }
  private void initializeRightPropertiesPanel(@NotNull Provider<TabBuilder> tabBuilderProvider) {
    rightPropertiesContainer.addTab(consoleTab);

    TabSelectHandler terminalHandler =
        new TabSelectHandler() {
          @Override
          public void onTabSelected() {
            if (selectedRunner != null) {
              selectedRunner.setActiveTab(locale.runnerTabTerminal());

              terminalContainer.update(selectedRunner);
            }
          }
        };

    terminalTab =
        tabBuilderProvider
            .get()
            .presenter(terminalContainer)
            .title(locale.runnerTabTerminal())
            .visible(VISIBLE)
            .selectHandler(terminalHandler)
            .scope(EnumSet.of(RUNNERS))
            .tabType(RIGHT)
            .build();
    rightPropertiesContainer.addTab(terminalTab);

    rightPropertiesContainer.addTab(propertiesTab);

    rightPropertiesContainer.showTabTitle(consoleTab.getTitle(), false);
    rightPropertiesContainer.showTabTitle(propertiesTab.getTitle(), false);
  }