rem: if (FBTrace.DBG_PANELS) FBTrace.sysout("tabContext.getPanelByType panel NOT in panelMap\n");              /*@explore*/ 
add: if (FBTrace.DBG_PANELS && !FBTrace.dumpToPanel) FBTrace.sysout("tabContext.getPanelByType panel NOT in panelMap\n");              /*@explore*/ 
context:     getPanelByType: function(panelType, noCreate)    {        if (!panelType || !this.panelMap)            return null;        var panelName = panelType.prototype.name;        if (panelName in this.panelMap)        {            var panel = this.panelMap[panelName];            if (FBTrace.DBG_PANELS)                                                                                   /*@explore*/                FBTrace.sysout("tabContext.getPanelByType panel in panelMap, .invalid="+panel.invalid+"\n");           /*@explore*/            if (panel.invalid)            {                var doc = this.chrome.getPanelDocument(panelType);                panel.reattach(doc);                delete panel.invalid;            }            return panel;        }        else if (!noCreate)        {            if (FBTrace.DBG_PANELS) FBTrace.sysout("tabContext.getPanelByType panel NOT in panelMap\n");              /*@explore*/            var panel = new panelType();            var doc = this.chrome.getPanelDocument(panelType);            panel.initialize(this, doc);            return this.panelMap[panel.name] = panel;        }    },
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/4e87df99218b2fc0556ab46d3f90d59e2144ac77/tabContext.js/clean/extension/content/firebug/tabContext.js