bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js
function(node, message, yesString, noString, defaultInput, modal, onConfirm, positionString) {
			var position = null;
			if(positionString === "below"){position = ["below", "right", "above", "left"];}
			else if(positionString === "right"){position = ["right", "above", "below", "left"];}
			this._popupDialog(modal,"PROMPT", node, message, [{label:yesString,callback:onConfirm,type:"ok"},{label:noString,callback:null,type:"cancel"}], defaultInput, position);
		}
function(node, message, yesString, noString, defaultInput, modal, onConfirm, positionString) {
			var position = null;
			if(positionString === "below"){position = ["below", "right", "above", "left"];}
			else if(positionString === "right"){position = ["right", "above", "below", "left"];}
			this._popupDialog(modal,"PROMPT", node, message, [{label:yesString,callback:onConfirm,type:"ok"},{label:noString,callback:null,type:"cancel"}], defaultInput, position);
		}
function ( node , message , yesString , noString , defaultInput , modal , onConfirm , positionString ) { var position = null ; if ( positionString === "below" ) { position = [ "below" , "right" , "above" , "left" ] ; } else if ( positionString === "right" ) { position = [ "right" , "above" , "below" , "left" ] ; } this . _popupDialog ( modal , "PROMPT" , node , message , [ { label : yesString , callback : onConfirm , type : "ok" } , { label : noString , callback : null , type : "cancel" } ] , defaultInput , position ) ; }
Open a tolltip parameter collector to collect user input.

@param {DOMElement} node the dom node that is displaying the command
@param {String} message the message to show when confirming the command
@param {String} yesString the label to show on a yes/true choice
@param {String} noString the label to show on a no/false choice
@param {String} default message in the input box.
@param {Boolean} modal indicates whether the confirmation prompt should be modal.
@param {Function} onConfirm a function that will be called when the user confirms the command.  The function
will be called with boolean indicating whether the command was confirmed.
@param [Optional]{String} postion of the popupDialog if specified, have to be one of "below", "right"
Open a tolltip parameter collector to collect user input .