code: function(name) {
              if (!name) return null;
  
              name = name.toLowerCase();
  
              var cmdArgs = [].slice.call(arguments, 1),
                  cmd, stoped, result, eventParams;
              var me = this;
              cmd = this._getCommand(name);
  
              eventParams = {
                  command: cmd,
                  commandName: name.toLowerCase(),
                  commandArgs: cmdArgs
              };
              if (!cmd || !~this.queryCommandState(name)) {
                  return false;
              }
  
              if (!this._hasEnterExecCommand) {
                  this._hasEnterExecCommand = true;
  
                  stoped = this._fire(new MinderEvent('beforeExecCommand', eventParams, true));
  
                  if (!stoped) {
                      this._fire(new MinderEvent('preExecCommand', eventParams, false));
  
                      result = cmd.execute.apply(cmd, [me].concat(cmdArgs));
  
                      this._fire(new MinderEvent('execCommand', eventParams, false));
  
                      if (cmd.isContentChanged()) {
                          this._firePharse(new MinderEvent('contentchange'));
                      }
  
                      this._interactChange();
                  }
                  this._hasEnterExecCommand = false;
              } else {
                  result = cmd.execute.apply(cmd, [me].concat(cmdArgs));
  
                  if (!this._hasEnterExecCommand) {
                      this._interactChange();
                  }
              }
  
              return result === undefined ? null : result;
          }
docs: @method execCommand()
  @for Minder
  @description 执行指定的命令。
  
  @grammar execCommand(name, args...)
  
  @param {string} name 要执行的命令名称
  @param {argument} args 要传递给命令的其它参数