docs: function () {
              // clean
              this._data.templates = [];
              this._data.modules = [];
              this._data.dataFragments = [];
              // refresh
  
              var startTemplates = this._data.templates;
              var startModules = this._data.modules;
              var startDatas = this._data.dataFragments;
  
              // this two should change if not null, as new objects are created.
              var selectedTemplate = this._data.selectedTemplate;
              var selectedModule = this._data.selectedModule;
  
              // The previous way of retrieving elements was to recursively look in the DOM
              // But a problem appeared with this when event delegation was implemented (because DOM elements
              // do not have any more a reference to the widget instance object until the getDom() method on the widget is
              // called, which may not happen at all, so we cannot recognize corresponding widgets).
              // We now use the hierarchies from the refresh manager.
  
              var refreshMgr = this.bridge.getAriaPackage().templates.RefreshManager;
              if (refreshMgr != null) {
                  refreshMgr.updateHierarchies();
                  var hierarchies = refreshMgr.getHierarchies();
                  this._convertRefreshMgrHierarchies(hierarchies, startTemplates, startModules, startDatas);
              }
  
              // not used now, but could be used later to display customizations in the inspector
              // this._data.customizations = this.bridge.getAriaPackage().environment.Environment.getCustomizations();
  
              // if not -> nullify
              if (selectedTemplate == this._data.selectedTemplate) {
                  this._data.selectedTemplate = null;
              }
              if (selectedModule == this._data.selectedModule) {
                  this._data.selectedModule = null;
              }
  
              this.$raiseEvent("contentChanged");
          }