function () {
				var oComponent = this.getOwnerComponent();

				// Routing
				this._oRouter = this.getRouter();
				this._oRouter.getRoute("api").attachPatternMatched(this._onMatched, this);
				this._oRouter.getRoute("apiId").attachPatternMatched(this._onTopicMatched, this);
				this._oRouter.getRoute("deprecated").attachPatternMatched(this._onTopicMatched, this);
				this._oRouter.getRoute("experimental").attachPatternMatched(this._onTopicMatched, this);
				this._oRouter.getRoute("since").attachPatternMatched(this._onTopicMatched, this);

				// Create the model
				this._oTreeModel = new JSONModel();
				this._oTreeModel.setSizeLimit(10000);
				this.setModel(this._oTreeModel, "treeData");

				// By default we don't show deprecated symbols in the tree
				this._bIncludeDeprecated = false;

				// Cache references
				this._oTree = this.byId("tree");

				// Load model data
				this._oDataLoadedPromise = oComponent.loadVersionInfo()
					.then(function () {
						// Cache allowed members
						this._aAllowedMembers = oComponent.aAllowedMembers;
					}.bind(this))
					.then(APIInfo.getIndexJsonPromise)
					.then(this._bindTreeModel.bind(this))
					.then(function () {
						// Apply default filters
						this.buildAndApplyFilters();

						// Init tree util
						this._initTreeUtil("name", "nodes");
					}.bind(this));
			}
function () {
				var oComponent = this.getOwnerComponent();

				// Routing
				this._oRouter = this.getRouter();
				this._oRouter.getRoute("api").attachPatternMatched(this._onMatched, this);
				this._oRouter.getRoute("apiId").attachPatternMatched(this._onTopicMatched, this);
				this._oRouter.getRoute("deprecated").attachPatternMatched(this._onTopicMatched, this);
				this._oRouter.getRoute("experimental").attachPatternMatched(this._onTopicMatched, this);
				this._oRouter.getRoute("since").attachPatternMatched(this._onTopicMatched, this);

				// Create the model
				this._oTreeModel = new JSONModel();
				this._oTreeModel.setSizeLimit(10000);
				this.setModel(this._oTreeModel, "treeData");

				// By default we don't show deprecated symbols in the tree
				this._bIncludeDeprecated = false;

				// Cache references
				this._oTree = this.byId("tree");

				// Load model data
				this._oDataLoadedPromise = oComponent.loadVersionInfo()
					.then(function () {
						// Cache allowed members
						this._aAllowedMembers = oComponent.aAllowedMembers;
					}.bind(this))
					.then(APIInfo.getIndexJsonPromise)
					.then(this._bindTreeModel.bind(this))
					.then(function () {
						// Apply default filters
						this.buildAndApplyFilters();

						// Init tree util
						this._initTreeUtil("name", "nodes");
					}.bind(this));
			}
function ( ) { var oComponent = this . getOwnerComponent ( ) ; // Routing this . _oRouter = this . getRouter ( ) ; this . _oRouter . getRoute ( "api" ) . attachPatternMatched ( this . _onMatched , this ) ; this . _oRouter . getRoute ( "apiId" ) . attachPatternMatched ( this . _onTopicMatched , this ) ; this . _oRouter . getRoute ( "deprecated" ) . attachPatternMatched ( this . _onTopicMatched , this ) ; this . _oRouter . getRoute ( "experimental" ) . attachPatternMatched ( this . _onTopicMatched , this ) ; this . _oRouter . getRoute ( "since" ) . attachPatternMatched ( this . _onTopicMatched , this ) ; // Create the model this . _oTreeModel = new JSONModel ( ) ; this . _oTreeModel . setSizeLimit ( 10000 ) ; this . setModel ( this . _oTreeModel , "treeData" ) ; // By default we don't show deprecated symbols in the tree this . _bIncludeDeprecated = false ; // Cache references this . _oTree = this . byId ( "tree" ) ; // Load model data this . _oDataLoadedPromise = oComponent . loadVersionInfo ( ) . then ( function ( ) { // Cache allowed members this . _aAllowedMembers = oComponent . aAllowedMembers ; } . bind ( this ) ) . then ( APIInfo . getIndexJsonPromise ) . then ( this . _bindTreeModel . bind ( this ) ) . then ( function ( ) { // Apply default filters this . buildAndApplyFilters ( ) ; // Init tree util this . _initTreeUtil ( "name" , "nodes" ) ; } . bind ( this ) ) ; }
Called when the master list controller is instantiated. It sets up the event handling for the master/detail communication and other lifecycle tasks.
@public
Called when the master list controller is instantiated . It sets up the event handling for the master / detail communication and other lifecycle tasks .
Initializes the tree model