bundles/org.eclipse.orion.client.ui/web/orion/webui/RichDropdown.js
function(name, decorator, title) {
			var titleText = title || ""; //$NON-NLS-0$
			lib.empty(this._dropdownTriggerButtonLabel);
			
			if (decorator) {
				this._dropdownTriggerButtonLabel.appendChild(decorator);
			}
			
			var nameNode = document.createTextNode(name);
			this._dropdownTriggerButtonLabel.appendChild(nameNode);
			
			this._dropdownTriggerButton.title = titleText;
		}
function(name, decorator, title) {
			var titleText = title || ""; //$NON-NLS-0$
			lib.empty(this._dropdownTriggerButtonLabel);
			
			if (decorator) {
				this._dropdownTriggerButtonLabel.appendChild(decorator);
			}
			
			var nameNode = document.createTextNode(name);
			this._dropdownTriggerButtonLabel.appendChild(nameNode);
			
			this._dropdownTriggerButton.title = titleText;
		}
function ( name , decorator , title ) { var titleText = title || "" ; //$NON-NLS-0$
 lib . empty ( this . _dropdownTriggerButtonLabel ) ; if ( decorator ) { this . _dropdownTriggerButtonLabel . appendChild ( decorator ) ; } var nameNode = document . createTextNode ( name ) ; this . _dropdownTriggerButtonLabel . appendChild ( nameNode ) ; this . _dropdownTriggerButton . title = titleText ; }
Sets the text label displayed in this dropdown's trigger button
@param {String} name The string to display on the dropdown trigger button.
@param {DOMNode} decorator Optional. A dom node which will be placed in front of the button name.
@param {String} title Optional. A string to display as the dropdown trigger button's title.
Sets the text label displayed in this dropdown s trigger button