rem: var folderOutlinerBuilder = folderOutliner.builder.QueryInterface(Components.interfaces.nsIXULOutlinerBuilder); folderOutlinerBuilder.addObserver(folderObserver); folderOutliner.addEventListener("click",FolderPaneOnClick,true); folderOutliner.addEventListener("mousedown",OutlinerOnMouseDown,true); 
add: var folderTreeBuilder = folderTree.builder.QueryInterface(Components.interfaces.nsIXULTreeBuilder); folderTreeBuilder.addObserver(folderObserver); folderTree.addEventListener("click",FolderPaneOnClick,true); folderTree.addEventListener("mousedown",TreeOnMouseDown,true); 
context: function OnLoadFolderPane(){    UpgradeFolderPaneUI();    var folderUnreadCol = document.getElementById("folderUnreadCol");    var hidden = folderUnreadCol.getAttribute("hidden");    if (!hidden)    {        var folderNameCell = document.getElementById("folderNameCell");        folderNameCell.setAttribute("label", "?folderTreeSimpleName");    }    folderUnreadCol.addEventListener("DOMAttrModified", OnFolderUnreadColAttrModified, false);    SortFolderPane("folderNameCol");    //Add folderDataSource and accountManagerDataSource to folderPane    accountManagerDataSource = accountManagerDataSource.QueryInterface(Components.interfaces.nsIRDFDataSource);    folderDataSource = folderDataSource.QueryInterface(Components.interfaces.nsIRDFDataSource);    var database = GetFolderDatasource();    database.AddDataSource(accountManagerDataSource);    database.AddDataSource(folderDataSource);    var folderOutliner = GetFolderOutliner();    folderOutliner.setAttribute("ref", "msgaccounts:/");    var folderOutlinerBuilder = folderOutliner.builder.QueryInterface(Components.interfaces.nsIXULOutlinerBuilder);    folderOutlinerBuilder.addObserver(folderObserver);    folderOutliner.addEventListener("click",FolderPaneOnClick,true);    folderOutliner.addEventListener("mousedown",OutlinerOnMouseDown,true);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/msgMail3PaneWindow.js/clean/mailnews/base/resources/content/msgMail3PaneWindow.js