public void updateBreadcrumbsPlacement(@NotNull BreadcrumbsPlacement placement) {
    if (myBreadcrumbs == null) return;

    setTopBreadcrumbs(placement == BreadcrumbsPlacement.TOP ? myBreadcrumbs : null);
    setBottomBreadcrumbs(placement == BreadcrumbsPlacement.BOTTOM ? myBreadcrumbs : null);
    myBreadcrumbs.setCrumbsShown(placement != BreadcrumbsPlacement.HIDDEN);

    validate();
    repaint();
  }
public void updateBreadcrumbsPlacement(@NotNull BreadcrumbsPlacement placement)