示例#1
0
文件: console.js 项目: ksava/cloud9
    destroy: function(){
        commands.removeCommandsByName(
            ["help", "clear", "switchconsole", "toggleconsole",
             "escapeconsole", "toggleinputbar"]);

        this.nodes.each(function(item) { item.destroy(true, true); });
        this.nodes = [];
    }
示例#2
0
    destroy : function(){
        commands.removeCommandsByName(["newfile", "newfiletemplate", "newfolder"]);
        
        this.nodes.each(function(item){
            item.destroy(true, true);
        });
        this.nodes = [];

        tabEditors.removeEventListener("close", this.$close);
    }
示例#3
0
    destroy : function(){
        commands.removeCommandsByName(["run", "stop"]);
        
        this.nodes.each(function(item){
            item.destroy(true, true);
        });
        this.nodes = [];

        panels.unregister(this);
    }
示例#4
0
 destroy : function(){
     menus.remove("View/Zen");
     
     commands.removeCommandsByName(["zen", "zenslow"]);
     
     this.nodes.each(function(item){
         item.destroy(true, true);
     });
     this.nodes = [];
 }
示例#5
0
    destroy : function(){
        menus.remove("Find/Find...");
        menus.remove("Find/~", 200);
        menus.remove("Find/Replace...");

        commands.removeCommandsByName(["replace", "replacenext", "replaceprevious"]);

        this.nodes.each(function(item){
            item.destroy(true, true);
        });
        this.nodes = [];
    }
    destroy : function(){
        menus.remove("File/~", 1100);
        menus.remove("File/Save All");
        menus.remove("File/Save As...");
        menus.remove("File/Save");
        menus.remove("File/~", 800);
        menus.remove("File/Revert to Saved");

        commands.removeCommandsByName(
            ["quicksave", "saveas", "saveall", "reverttosaved"]);

        tabEditors.removeEventListener("close", this.$close, true);
        this.$destroy();
    }
示例#7
0
    destroy : function(){
        commands.removeCommandsByName(
            ["resume", "stepinto", "stepover", "stepout"]);

        this.nodes.each(function(item){
            item.destroy(true, true);
            dock.unregisterPage(item);
        });

        tabDebug.destroy(true, true);
        this.$layoutItem.destroy(true, true);

        this.nodes = [];
    },
示例#8
0
 destroy : function(){
     menus.remove("View/Tabs");
     menus.remove(mnuContextTabs);
     
     commands.removeCommandsByName(["closealltotheright", "closealltotheleft"]);
     
     this.commands.each(function(item){
         commands.removeCommandByName(item[0]);
     });
     
     this.nodes.each(function(item){
         item.destroy(true, true);
     });
     this.nodes = [];
 }
示例#9
0
    destroy : function(){
        commands.removeCommandsByName(["open", "c9"]);

        this.webdav.destroy(true, true);
        this.model.destroy(true, true);
    }
示例#10
0
文件: console.js 项目: 2thetop/cloud9
 destroy: function(){
     commands.removeCommandsByName(
         ["help", "clear", "switchconsole", "toggleconsole",
          "escapeconsole", "toggleinputbar"]);
     this.$destroy();
 }
示例#11
0
 destroy : function(){
     commands.removeCommandsByName(["run", "stop"]);
     panels.unregister(this);
     this.$destroy();
 }
 destroy : function(){
     Commands.removeCommandsByName(["mergetableft", "mergetabright"]);
     this.$destroy();
 }
示例#13
0
 destroy : function(){
     commands.removeCommandsByName(["newfile", "newfiletemplate", "newfolder"]);
     tabEditors.removeEventListener("close", this.$close);
     this.$destroy();
 }
示例#14
0
 destroy : function(){
     menus.remove("View/Zen");
     commands.removeCommandsByName(["zen"]);
     this.$destroy();
 }