add: case "cmd_selectAll": return GetDBView() != null; 
context:     isCommandEnabled: function(command)    {        var enabled = true;                switch (command) {           case "goto_folder_button":            if (GetNumSelectedMessages() != 1)              enabled = false;            break;          case "cmd_delete":          case "cmd_shiftDelete":          case "button_delete":            // this assumes that advanced searches don't cross accounts            if (GetNumSelectedMessages() <= 0 || isNewsURI(gSearchView.getURIForViewIndex(0)))              enabled = false;            break;          case "saveas_vf_button":              // need someway to see if there are any search criteria...              return true;          default:            if (GetNumSelectedMessages() <= 0)              enabled = false;            break;        }        return enabled;    },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/625846e974dd6595450478638605d77d11ac2482/SearchDialog.js/clean/mailnews/base/search/resources/content/SearchDialog.js