src/sap.ui.support/src/sap/ui/support/supportRules/ui/controllers/Analysis.controller.js
function (tempRule, treeTable) {
			var ruleSource = this.model.getProperty("/editRuleSource");
			for (var i in treeTable) {
				if (treeTable[i].name === Constants.TEMP_RULESETS_NAME) {
					for (var innerIndex in treeTable[i].nodes) {
						if (treeTable[i].nodes[innerIndex].id === ruleSource.id) {
							treeTable[i].nodes[innerIndex] = {
								name: tempRule.title,
								description: tempRule.description,
								id: tempRule.id,
								audiences: tempRule.audiences,
								categories: tempRule.categories,
								minversion: tempRule.minversion,
								resolution: tempRule.resolution,
								selected: treeTable[i].nodes[innerIndex].selected,
								title: tempRule.title,
								libName: treeTable[i].name,
								check: tempRule.check
							};
						}
					}
				}
			}
		}
function (tempRule, treeTable) {
			var ruleSource = this.model.getProperty("/editRuleSource");
			for (var i in treeTable) {
				if (treeTable[i].name === Constants.TEMP_RULESETS_NAME) {
					for (var innerIndex in treeTable[i].nodes) {
						if (treeTable[i].nodes[innerIndex].id === ruleSource.id) {
							treeTable[i].nodes[innerIndex] = {
								name: tempRule.title,
								description: tempRule.description,
								id: tempRule.id,
								audiences: tempRule.audiences,
								categories: tempRule.categories,
								minversion: tempRule.minversion,
								resolution: tempRule.resolution,
								selected: treeTable[i].nodes[innerIndex].selected,
								title: tempRule.title,
								libName: treeTable[i].name,
								check: tempRule.check
							};
						}
					}
				}
			}
		}
function ( tempRule , treeTable ) { var ruleSource = this . model . getProperty ( "/editRuleSource" ) ; for ( var i in treeTable ) { if ( treeTable [ i ] . name === Constants . TEMP_RULESETS_NAME ) { for ( var innerIndex in treeTable [ i ] . nodes ) { if ( treeTable [ i ] . nodes [ innerIndex ] . id === ruleSource . id ) { treeTable [ i ] . nodes [ innerIndex ] = { name : tempRule . title , description : tempRule . description , id : tempRule . id , audiences : tempRule . audiences , categories : tempRule . categories , minversion : tempRule . minversion , resolution : tempRule . resolution , selected : treeTable [ i ] . nodes [ innerIndex ] . selected , title : tempRule . title , libName : treeTable [ i ] . name , check : tempRule . check } ; } } } } }
Keeps in sync the TreeViewModel for temporary rules that we use for visualisation of sap.m.TreeTable and the model that we use in the SuppportAssistant
@param {Object} tempRule Temporary rule
@param {Object} treeTable Model for sap.m.TreeTable visualization
Keeps in sync the TreeViewModel for temporary rules that we use for visualisation of sap . m . TreeTable and the model that we use in the SuppportAssistant