src/sap.ui.support/src/sap/ui/support/supportRules/ui/controllers/Analysis.controller.js
function (event) {
			var sPath = event.getSource().getBindingContext("treeModel").getPath(),
				sourceObject = this.treeTable.getBinding().getModel().getProperty(sPath),
				libs = this.model.getProperty("/libraries");

			libs.forEach(function (lib, libIndex) {
				lib.rules.forEach(function (rule) {
					if (rule.id === sourceObject.id) {
						sourceObject.check = rule.check;
					}
				});
			});
			return sourceObject;
		}
function (event) {
			var sPath = event.getSource().getBindingContext("treeModel").getPath(),
				sourceObject = this.treeTable.getBinding().getModel().getProperty(sPath),
				libs = this.model.getProperty("/libraries");

			libs.forEach(function (lib, libIndex) {
				lib.rules.forEach(function (rule) {
					if (rule.id === sourceObject.id) {
						sourceObject.check = rule.check;
					}
				});
			});
			return sourceObject;
		}
function ( event ) { var sPath = event . getSource ( ) . getBindingContext ( "treeModel" ) . getPath ( ) , sourceObject = this . treeTable . getBinding ( ) . getModel ( ) . getProperty ( sPath ) , libs = this . model . getProperty ( "/libraries" ) ; libs . forEach ( function ( lib , libIndex ) { lib . rules . forEach ( function ( rule ) { if ( rule . id === sourceObject . id ) { sourceObject . check = rule . check ; } } ) ; } ) ; return sourceObject ; }
Gets rule from selected row
@param {Object} event Event
@returns {Object} ISelected rule from row
*
Gets rule from selected row