src/sap.ui.fl/src/sap/ui/fl/changeHandler/BaseRename.js
function(oChange, oControl, mPropertyBag) {
					var oModifier = mPropertyBag.modifier;
					var sPropertyName = mRenameSettings.propertyName;
					var oChangeDefinition = oChange.getDefinition();
					var sText = oChangeDefinition.texts[mRenameSettings.changePropertyName];
					var sValue = sText.value;

					if (oChangeDefinition.texts && sText && typeof (sValue) === "string") {
						oChange.setRevertData(oModifier.getPropertyBindingOrProperty(oControl, sPropertyName));
						oModifier.setPropertyBindingOrProperty(oControl, sPropertyName, sValue);
						return true;
					} else {
						Utils.log.error("Change does not contain sufficient information to be applied: [" + oChangeDefinition.layer + "]" + oChangeDefinition.namespace + "/" + oChangeDefinition.fileName + "." + oChangeDefinition.fileType);
						//however subsequent changes should be applied
					}
				}
function(oChange, oControl, mPropertyBag) {
					var oModifier = mPropertyBag.modifier;
					var sPropertyName = mRenameSettings.propertyName;
					var oChangeDefinition = oChange.getDefinition();
					var sText = oChangeDefinition.texts[mRenameSettings.changePropertyName];
					var sValue = sText.value;

					if (oChangeDefinition.texts && sText && typeof (sValue) === "string") {
						oChange.setRevertData(oModifier.getPropertyBindingOrProperty(oControl, sPropertyName));
						oModifier.setPropertyBindingOrProperty(oControl, sPropertyName, sValue);
						return true;
					} else {
						Utils.log.error("Change does not contain sufficient information to be applied: [" + oChangeDefinition.layer + "]" + oChangeDefinition.namespace + "/" + oChangeDefinition.fileName + "." + oChangeDefinition.fileType);
						//however subsequent changes should be applied
					}
				}
function ( oChange , oControl , mPropertyBag ) { var oModifier = mPropertyBag . modifier ; var sPropertyName = mRenameSettings . propertyName ; var oChangeDefinition = oChange . getDefinition ( ) ; var sText = oChangeDefinition . texts [ mRenameSettings . changePropertyName ] ; var sValue = sText . value ; if ( oChangeDefinition . texts && sText && typeof ( sValue ) === "string" ) { oChange . setRevertData ( oModifier . getPropertyBindingOrProperty ( oControl , sPropertyName ) ) ; oModifier . setPropertyBindingOrProperty ( oControl , sPropertyName , sValue ) ; return true ; } else { Utils . log . error ( "Change does not contain sufficient information to be applied: [" + oChangeDefinition . layer + "]" + oChangeDefinition . namespace + "/" + oChangeDefinition . fileName + "." + oChangeDefinition . fileType ) ; //however subsequent changes should be applied } }
Renames a control.

@param {sap.ui.fl.Change} oChange change wrapper object with instructions to be applied on the control map
@param {sap.ui.core.Control} oControl Control that matches the change selector for applying the change
@param {object} mPropertyBag property bag
@param {object} mPropertyBag.modifier modifier for the controls
@returns {boolean} true if successful
@public
Renames a control .