code: function() {
  			if (this.$buttonContainer && Array.isArray(this.buttons)) {
  				var self = this;
  				this.buttons.forEach(function(buttonDefinition) {
  					var button = uiUtil.createButton(buttonDefinition.text, buttonDefinition.callback);
  					if (buttonDefinition.id) {
  						button.id = buttonDefinition.id;
  						self['$'+ button.id] = button; //$NON-NLS-0$					
  					}
  					if (buttonDefinition.isDefault) {
  						self._defaultCallback = buttonDefinition.callback;
  						self._defaultButton = button;
  						button.classList.add("primaryButton"); //$NON-NLS-0$
  					}
  					self.$buttonContainer.appendChild(button);
  				});
  			}
  		}
docs: /*
  Internal.  Generates any specified buttons.