code: function () {
  			if (this._bOpenAsContextMenu && this._oContextMenuPosition.x === null && this._oContextMenuPosition.y === null) {
  				this._bOpenAsContextMenu = false;
  			}
  
  			// fires the open event after popover is opened
  			this.getPopover().attachAfterOpen(this._handleAfterOpen, this);
  
  			this.getPopover().attachBeforeClose(this._handleBeforeClose, this);
  
  			//place the Popover and get the target DIV
  			this._oTarget = this._placeContextMenu(this._oTarget, this._bOpenAsContextMenu);
  
  			// set the PopOver visible
  			this.getPopover().setVisible(true);
  			this.bOpen = true;
  			this.bOpenNew = false;
  		}
docs: Finalizes the Opening of the ContextMenu. Is called by "_popupClosed" (when the old Menu is closed) or by "show" if there was no ContextMenu opened before
  Is needed to prevent flickering (wait for old ContextMenu to close)