rem: dump("ThreadPaneController.isCommandEnabled(" + command + ")\n"); 
context: 	isCommandEnabled: function(command)	{        dump("ThreadPaneController.isCommandEnabled(" + command + ")\n");		switch ( command )		{			case "cmd_selectAll":				return true;						case "cmd_delete":			case "button_delete":				var threadTree = GetThreadTree();				dump("threadTree = " + threadTree + "\n");				var numSelected = 0;				if ( threadTree && threadTree.selectedItems )					numSelected = threadTree.selectedItems.length;				if ( command == "cmd_delete" )				{					if ( numSelected < 2 )						goSetMenuValue(command, 'valueMessage');					else						goSetMenuValue(command, 'valueMessages');				}				return ( numSelected > 0 );						case "cmd_undo":			case "cmd_redo":				// FIX ME - these commands should be calling the back-end code to determine if				// they should be enabled, this hack of always enabled can then be fixed.				return true;			default:				return false;		}	},
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/bd6b1c478ea9b7e79006534e782904dd63ca6be4/widgetglue.js/buggy/mailnews/base/resources/content/widgetglue.js