function cacheView(object)
        {
            var view = /** @type {!WebInspector.Widget} */ (object);
            delete this._promiseForId[id];
            this._views.set(id, view);
            if (this._viewCallback && view)
                this._viewCallback(id, view);
            var shouldFocus = this._tabbedPane.visibleView.element.isSelfOrAncestor(WebInspector.currentFocusElement());
            this._tabbedPane.changeTabView(id, view);
            if (shouldFocus)
                view.focus();
            return view;
        }
@param {!Object} object
@this {WebInspector.ExtensibleTabbedPaneController}