add:  window.updateCommands("create"); 
context: function EditorStartup(editorType, editorElement){  contentWindow = window.content;    // store the editor shell in the window, so that child windows can get to it.  editorShell = editorElement.editorShell;    editorShell.Init();  editorShell.SetWebShellWindow(window);  editorShell.SetToolbarWindow(window)  editorShell.SetEditorType(editorType);  editorShell.SetContentWindow(contentWindow);  // add a listener to be called when document is really done loading  editorShell.RegisterDocumentStateListener( DocumentStateListener );   // Get url for editor content and load it.  // the editor gets instantiated by the editor shell when the URL has finished loading.  var url = document.getElementById("args").getAttribute("value");  editorShell.LoadUrl(url);    // Set focus to the edit window  // This still doesn't work!  // It works after using a toolbar button, however!  contentWindow.focus();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/035965297dd3eee99dadbd7c3a6f8560d975d3ea/EditorCommands.js/clean/editor/ui/composer/content/EditorCommands.js