@Override
      public void stateChanged(@NotNull ToolWindowManager toolWindowManager,
                               @NotNull ToolWindow toolWindow,
                               @NotNull ToolWindowManagerEventType changeType) {
        if (!toolWindowId.equals(toolWindow.getId())) return;

        if (changeType == ToolWindowManagerEventType.SetSideToolAndAnchor) {
          boolean verticalSplit = !toolWindow.getAnchor().isHorizontal();
          for (Content content : holder.contentManager.getContents()) {
            ServiceView serviceView = getServiceView(content);
            if (serviceView != null) {
              serviceView.getUi().setSplitOrientation(verticalSplit);
            }
          }
          return;
        }
        if (changeType == ToolWindowManagerEventType.SetContentUiType) {
          updateNavBar(holder);
        }
      }
@Override
      public void stateChanged(@NotNull ToolWindowManager toolWindowManager,
                               @NotNull ToolWindow toolWindow,
                               @NotNull ToolWindowManagerEventType changeType)