add: commandManager.registerCommand("cmd_editSendPage",  nsSendPageCommand); 
context: function SetupComposerWindowCommands(){  // Create a command controller and register commands  //   specific to Web Composer window (file-related commands, HTML Source...)  // IMPORTANT: For each of these commands, the doCommand method   //            must first call FinishHTMLSource()   //            to go from HTML Source mode to any other edit mode  var gComposerWindowCommandManager = window.controllers;  if (!gComposerWindowCommandManager) return;  var composerController = Components.classes["component://netscape/editor/composercontroller"].createInstance();  if (!composerController)  {    dump("Failed to create composerController\n");    return;  }  var editorController = composerController.QueryInterface(Components.interfaces.nsIEditorController);  if (!editorController)  {    dump("Failed to get interface for nsIEditorController\n");    return;  }  // Note: We init with the editorShell for the main composer window, not the HTML Source textfield?  editorController.Init(window.editorShell);  var interfaceRequestor = composerController.QueryInterface(Components.interfaces.nsIInterfaceRequestor);  if (!interfaceRequestor)  {    dump("Failed to get iterfaceRequestor for composerController\n");    return;  }      // Get the nsIControllerCommandManager interface we need to register more commands  var commandManager = interfaceRequestor.getInterface(Components.interfaces.nsIControllerCommandManager);  if (!commandManager)  {    dump("Failed to get interface for nsIControllerCommandManager\n");    return;  }  // File-related commands  commandManager.registerCommand("cmd_newEditor",     nsNewEditorCommand);  commandManager.registerCommand("cmd_open",          nsOpenCommand);  commandManager.registerCommand("cmd_save",          nsSaveCommand);  commandManager.registerCommand("cmd_saveAs",        nsSaveAsCommand);  commandManager.registerCommand("cmd_saveAsCharset", nsSaveAsCharsetCommand);  commandManager.registerCommand("cmd_revert",        nsRevertCommand);  commandManager.registerCommand("cmd_openRemote",    nsOpenRemoteCommand);  commandManager.registerCommand("cmd_preview",       nsPreviewCommand);  commandManager.registerCommand("cmd_quit",          nsQuitCommand);  commandManager.registerCommand("cmd_close",         nsCloseCommand);  commandManager.registerCommand("cmd_preferences",   nsPreferencesCommand);  // Edit Mode commands  commandManager.registerCommand("cmd_NormalMode",         nsNormalModeCommand);  commandManager.registerCommand("cmd_AllTagsMode",        nsAllTagsModeCommand);  commandManager.registerCommand("cmd_HTMLSourceMode",     nsHTMLSourceModeCommand);  commandManager.registerCommand("cmd_PreviewMode",        nsPreviewModeCommand);  commandManager.registerCommand("cmd_FinishHTMLSource",   nsFinishHTMLSource);  commandManager.registerCommand("cmd_CancelHTMLSource",   nsCancelHTMLSource);  gComposerWindowCommandManager.insertControllerAt(0, editorController);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7789da1eb003f85e6cc18242751db9096e6cfc90/ComposerCommands.js/clean/editor/ui/composer/content/ComposerCommands.js