@Override
  public void setNavBar(@NotNull JComponent component) {
    myNavBarWrapper = new NavBarWrapper(component);
    myNavBarWrapper.setVisible(myNavBarPanel.isVisible());
    myNavBarPanel.add(myNavBarWrapper, BorderLayout.CENTER);
  }
@Override
  public void setNavBar(@NotNull JComponent component)