_getAllItems(showOverflowButton) {
      let domOrder = -1;
      const items = [{
        icon: "search",
        text: this._searchText,
        classes: `${this.searchField.length ? "" : "ui5-shellbar-invisible-button"} ui5-shellbar-search-button ui5-shellbar-button`,
        priority: 4,
        domOrder: this.searchField.length ? ++domOrder : -1,
        styles: {
          order: this.searchField.length ? 1 : -10
        },
        id: `${this._id}-item-${1}`,
        press: this._handleSearchIconPress.bind(this),
        show: !!this.searchField.length
      }, ...this.items.map(item => {
        item._getRealDomRef = () => this.getDomRef().querySelector(`*[data-ui5-stable=${item.stableDomRef}]`);
        return {
          icon: item.icon,
          id: item._id,
          count: item.count || undefined,
          refItemid: item._id,
          text: item.text,
          classes: "ui5-shellbar-custom-item ui5-shellbar-button",
          priority: 1,
          domOrder: ++domOrder,
          styles: {
            order: 2
          },
          show: true,
          press: this._handleCustomActionPress.bind(this),
          custom: true,
          title: item.title,
          stableDomRef: item.stableDomRef
        };
      }), {
        icon: "bell",
        text: this._notificationsText,
        classes: `${this.showNotifications ? "" : "ui5-shellbar-invisible-button"} ui5-shellbar-bell-button ui5-shellbar-button`,
        priority: 3,
        styles: {
          order: this.showNotifications ? 3 : -10
        },
        id: `${this._id}-item-${2}`,
        show: this.showNotifications,
        domOrder: this.showNotifications ? ++domOrder : -1,
        press: this._handleNotificationsPress.bind(this)
      }, {
        icon: "overflow",
        text: "Overflow",
        classes: `${showOverflowButton ? "" : "ui5-shellbar-hidden-button"} ui5-shellbar-overflow-button-shown ui5-shellbar-overflow-button ui5-shellbar-button`,
        priority: 5,
        order: 4,
        styles: {
          order: showOverflowButton ? 4 : -1
        },
        domOrder: showOverflowButton ? ++domOrder : -1,
        id: `${this.id}-item-${5}`,
        press: this._handleOverflowPress.bind(this),
        show: true
      }, {
        text: "Person",
        classes: `${this.hasProfile ? "" : "ui5-shellbar-invisible-button"} ui5-shellbar-image-button ui5-shellbar-button`,
        priority: 4,
        styles: {
          order: this.hasProfile ? 5 : -10
        },
        profile: true,
        id: `${this._id}-item-${3}`,
        domOrder: this.hasProfile ? ++domOrder : -1,
        show: this.hasProfile,
        press: this._handleProfilePress.bind(this)
      }, {
        icon: "grid",
        text: this._productsText,
        classes: `${this.showProductSwitch ? "" : "ui5-shellbar-invisible-button"} ui5-shellbar-button ui5-shellbar-button-product-switch`,
        priority: 2,
        styles: {
          order: this.showProductSwitch ? 6 : -10
        },
        id: `${this._id}-item-${4}`,
        show: this.showProductSwitch,
        domOrder: this.showProductSwitch ? ++domOrder : -1,
        press: this._handleProductSwitchPress.bind(this)
      }];
      return items;
    }
Returns all items that will be placed in the right of the bar as icons / dom elements.
@param {boolean} showOverflowButton Determines if overflow button should be visible (not overflowing)