context: function setupDatasource() {    RDF = Components.classes[rdfServiceContractID].getService(Components.interfaces.nsIRDFService);    gSearchView = Components.classes["@mozilla.org/messenger/msgdbview;1?type=search"].createInstance(Components.interfaces.nsIMsgDBView);    var count = new Object;    var cmdupdator = new nsMsgSearchCommandUpdater();        gSearchView.init(messenger, msgWindow, cmdupdator);    gSearchView.open(null, nsMsgViewSortType.byId, nsMsgViewSortOrder.ascending, nsMsgViewFlagsType.kNone, count);    var outlinerView = gSearchView.QueryInterface(Components.interfaces.nsIOutlinerView);    if (outlinerView)    {           var outliner = GetThreadOutliner();      outliner.boxObject.QueryInterface(Components.interfaces.nsIOutlinerBoxObject).view = outlinerView;     }    // the thread pane needs to use the search datasource (to get the    // actual list of messages) and the message datasource (to get any    // attributes about each message)    gSearchSession = Components.classes[searchSessionContractID].createInstance(Components.interfaces.nsIMsgSearchSession);            // the datasource is a listener on the search results    gViewSearchListener = gSearchView.QueryInterface(Components.interfaces.nsIMsgSearchNotify);    gSearchSession.registerListener(gViewSearchListener);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eaa6754a0a946375badf1165b3e4af3999e4b03c/SearchDialog.js/clean/mailnews/base/search/resources/content/SearchDialog.js