function _propagateChangesForAppComponent (oAppComponent) {
		// only manifest with type = "application" will fetch changes
		var oManifest = oAppComponent.getManifestObject();
		var oFlexController = FlexControllerFactory.createForControl(oAppComponent, oManifest);
		var oVariantModel;
		return oFlexController._oChangePersistence.loadChangesMapForComponent(oAppComponent)
		.then(function (fnGetChangesMap) {
			var fnPropagationListener = Applier.applyAllChangesForControl.bind(Applier, fnGetChangesMap, oAppComponent, oFlexController);
			fnPropagationListener._bIsSapUiFlFlexControllerApplyChangesOnControl = true;
			oAppComponent.addPropagationListener(fnPropagationListener);
			oVariantModel = new VariantModel({}, {
				flexController: oFlexController,
				appComponent: oAppComponent
			});
			return oVariantModel.initialize();
		})
		.then(function() {
			oAppComponent.setModel(oVariantModel, Utils.VARIANT_MODEL_NAME);
			Measurement.end("flexProcessing");
			return oVariantModel;
		}).then(function (oResult) {
			return checkForRtaStartOnDraftAndReturnResult(oResult, oAppComponent);
		});
	}
/**
	 * Sets propagation changes and listeners on the passed app component.
	 * Also creates a variant model on this app component.
	 * @see sap.ui.fl.variant.VariantModel
	 *
	 * @param {sap.ui.core.Component} oAppComponent - App component instance
	 * @return {Promise} Promise which resolves to the created variant model,
	 * after all propagation changes and listeners have been set.
	 */
Sets propagation changes and listeners on the passed app component.
Also creates a variant model on this app component.

@param {sap.ui.core.Component} oAppComponent - App component instance
@return {Promise} Promise which resolves to the created variant model,
after all propagation changes and listeners have been set.
Sets propagation changes and listeners on the passed app component . Also creates a variant model on this app component . @param { sap . ui . core . Component } oAppComponent - App component instance @return { Promise } Promise which resolves to the created variant model after all propagation changes and listeners have been set .
function _propagateChangesForAppComponent (oAppComponent) {
		var oManifest = oAppComponent.getManifestObject();
		var oFlexController = FlexControllerFactory.createForControl(oAppComponent, oManifest);
		var oVariantModel;
		return oFlexController._oChangePersistence.loadChangesMapForComponent(oAppComponent)
		.then(function (fnGetChangesMap) {
			var fnPropagationListener = Applier.applyAllChangesForControl.bind(Applier, fnGetChangesMap, oAppComponent, oFlexController);
			fnPropagationListener._bIsSapUiFlFlexControllerApplyChangesOnControl = true;
			oAppComponent.addPropagationListener(fnPropagationListener);
			oVariantModel = new VariantModel({}, {
				flexController: oFlexController,
				appComponent: oAppComponent
			});
			return oVariantModel.initialize();
		})
		.then(function() {
			oAppComponent.setModel(oVariantModel, Utils.VARIANT_MODEL_NAME);
			Measurement.end("flexProcessing");
			return oVariantModel;
		}).then(function (oResult) {
			return checkForRtaStartOnDraftAndReturnResult(oResult, oAppComponent);
		});
	}
function _propagateChangesForAppComponent ( oAppComponent ) { var oManifest = oAppComponent . getManifestObject ( ) ; var oFlexController = FlexControllerFactory . createForControl ( oAppComponent , oManifest ) ; var oVariantModel ; return oFlexController . _oChangePersistence . loadChangesMapForComponent ( oAppComponent ) . then ( function ( fnGetChangesMap ) { var fnPropagationListener = Applier . applyAllChangesForControl . bind ( Applier , fnGetChangesMap , oAppComponent , oFlexController ) ; fnPropagationListener . _bIsSapUiFlFlexControllerApplyChangesOnControl = true ; oAppComponent . addPropagationListener ( fnPropagationListener ) ; oVariantModel = new VariantModel ( { } , { flexController : oFlexController , appComponent : oAppComponent } ) ; return oVariantModel . initialize ( ) ; } ) . then ( function ( ) { oAppComponent . setModel ( oVariantModel , Utils . VARIANT_MODEL_NAME ) ; Measurement . end ( "flexProcessing" ) ; return oVariantModel ; } ) . then ( function ( oResult ) { return checkForRtaStartOnDraftAndReturnResult ( oResult , oAppComponent ) ; } ) ; }
Sets propagation changes and listeners on the passed app component.
Sets propagation changes and listeners on the passed app component .
// only manifest with type = "application" will fetch changes