Class Index | File Index

Classes


Class orion.commands.CommandParameter


Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
orion.commands.CommandParameter(name, type, label, value, lines, eventListeners)
A CommandParameter defines a parameter that is required by a command.
Method Summary
Method Attributes Method Name and Description
 
Returns whether the user has requested to assign values to optional parameters
Class Detail
orion.commands.CommandParameter(name, type, label, value, lines, eventListeners)
A CommandParameter defines a parameter that is required by a command.
Parameters:
{String} name
the name of the parameter
{String} type
the type of the parameter, one of the HTML5 input types, or "boolean"
{String} label Optional
the (optional) label that should be used when showing the parameter
{String} value Optional
the (optional) default value for the parameter
{Number} lines Optional
the (optional) number of lines that should be shown when collecting the value. Valid for type "text" only.
{Object|Array} eventListeners Optional
the (optional) array or single command event listener
Method Detail
{Boolean} optionsRequested()
Returns whether the user has requested to assign values to optional parameters
Returns:
{Boolean} whether the user has requested optional parameters

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 01 2014 22:58:22 GMT-0400 (EDT)