rem: console.commandManager.addPref(prefName, ""); 
add: console.prefManager.addPref(prefName, ""); 
context: function cmdSaveLayout (e){    if (!e.name)    {        var list = console.prefManager.listPrefs("layoutState.");        for (var i = 0; i < list.length; ++i)            list[i] = list[i].substr(12);        list.push("factory");        display (getMsg(MSN_LAYOUT_LIST, list.sort().join(MSG_COMMASP)));        return;    }        e.name = e.name.toLowerCase();    if (e.name == "factory")    {        display (getMsg(MSN_ERR_INVALID_PARAM, ["name", e.name]), MT_ERROR);        return;        }        var ary = console.viewManager.getLayoutState ();    var prefName = "layoutState." + e.name;    console.commandManager.addPref(prefName, "");    console.prefs[prefName] = ary.join ("; ");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/79e65647280092c7d4f11098e5ed6ef962150965/venkman-commands.js/clean/extensions/venkman/resources/content/venkman-commands.js