src/sap.ui.rta/src/sap/ui/rta/plugin/RenameHandler.js
function (bRestoreFocus, oEvent) {
			if (!this._bBlurOrKeyDownStarted) {
				this._bBlurOrKeyDownStarted = true;
				if (oEvent) {
					RenameHandler._preventDefault.call(this, oEvent);
					RenameHandler._stopPropagation.call(this, oEvent);
				}
				return this._emitLabelChangeEvent()
					.then(function (fnErrorHandler) {
						this.stopEdit(bRestoreFocus);
						if (typeof fnErrorHandler === "function") {
							fnErrorHandler(); // contains startEdit() and valueStateMessage
						}
					}.bind(this));
			}
			return Promise.resolve();
		}
function (bRestoreFocus, oEvent) {
			if (!this._bBlurOrKeyDownStarted) {
				this._bBlurOrKeyDownStarted = true;
				if (oEvent) {
					RenameHandler._preventDefault.call(this, oEvent);
					RenameHandler._stopPropagation.call(this, oEvent);
				}
				return this._emitLabelChangeEvent()
					.then(function (fnErrorHandler) {
						this.stopEdit(bRestoreFocus);
						if (typeof fnErrorHandler === "function") {
							fnErrorHandler(); // contains startEdit() and valueStateMessage
						}
					}.bind(this));
			}
			return Promise.resolve();
		}
function ( bRestoreFocus , oEvent ) { if ( ! this . _bBlurOrKeyDownStarted ) { this . _bBlurOrKeyDownStarted = true ; if ( oEvent ) { RenameHandler . _preventDefault . call ( this , oEvent ) ; RenameHandler . _stopPropagation . call ( this , oEvent ) ; } return this . _emitLabelChangeEvent ( ) . then ( function ( fnErrorHandler ) { this . stopEdit ( bRestoreFocus ) ; if ( typeof fnErrorHandler === "function" ) { fnErrorHandler ( ) ; // contains startEdit() and valueStateMessage } } . bind ( this ) ) ; } return Promise . resolve ( ) ; }
Handles events after rename has been performed
@param {boolean} bRestoreFocus - to restore focus to overlay after rename completes
@private
Handles events after rename has been performed