text: KM.registerToolbarUI( 'node', function ( name ) {
      var shortcutKeys = {
          "appendsiblingnode": "enter",
          "appendchildnode": "tab",
          "removenode": "del|backspace",
          "editnode": "F2"
      };
  
      var me = this,
          msg = me.getLang( 'node' ),
          label = me.getLang( 'tooltips.' + name ),
          options = {
              label: label,
              title: label,
              comboboxName: name,
              items: me.getOptions( name ) || [],
              itemStyles: [],
              value: [],
              autowidthitem: [],
              enabledRecord: false,
              enabledSelected: false
          },
          $combox = null;
      if ( options.items.length == 0 ) {
          return null;
      }
  
      //实例化
      $combox = $.kmuibuttoncombobox( transForInserttopic( options ) ).css( 'zIndex', me.getOptions( 'zIndex' ) + 1 );
      var comboboxWidget = $combox.kmui();
  
      comboboxWidget.on( 'comboboxselect', function ( evt, res ) {
          me.execCommand( res.value, new MinderNode( me.getLang().topic ), true );
      } ).on( "beforeshow", function () {
          if ( $combox.parent().length === 0 ) {
              $combox.appendTo( me.$container.find( '.kmui-dialog-container' ) );
          }
          var combox = $combox.kmui();
  
          combox.traverseItems( function ( label, value ) {
              if ( me.queryCommandState( value ) == -1 ) {
                  combox.disableItemByLabel( label )
              } else {
                  combox.enableItemByLabel( label )
              }
          } )
      } );
      //状态反射
      me.on( 'interactchange', function () {
          var state = 0;
          utils.each( shortcutKeys, function ( k ) {
              state = me.queryCommandState( k );
              if ( state != -1 ) {
                  return false;
              }
          } );
          //设置按钮状态
          comboboxWidget.button().kmui().disabled( state == -1 ).active( state == 1 );
  
      } );
      //comboboxWidget.button().kmui().disabled(-1);
      return comboboxWidget.button().addClass( 'kmui-combobox' );
  
  
  
      function transForInserttopic( options ) {
  
          var tempItems = [];
  
          utils.each( options.items, function ( k, v ) {
              options.value.push( v );
  
              tempItems.push( ( msg[ k ] || k ) + '(' + shortcutKeys[ v ].toUpperCase() + ')' );
              options.autowidthitem.push( $.wordCountAdaptive( tempItems[ tempItems.length - 1 ] ) );
          } );
  
          options.items = tempItems;
          return options;
  
      }
  
  } );