Class orion.shell.Command
Instances represent commands that can be registered in Shells.
See:
orion.shell.Shell
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/shell/Shell.js>.
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| Field Attributes | Field Name and Description | 
|---|---|
| 
								
								 the function to call when the command is invoked 
							 | 
						|
| 
								
								 the command's description 
							 | 
						|
| 
								
								 the command's name 
							 | 
						|
| 
								
								 the parameters accepted by the command 
							 | 
						|
| 
								
								 the type of value to be displayed when the command has
    completed, valid types are "string" (default) and "html" (a returned "html"
    value is a DOM node) 
							 | 
						
					Field Detail
				
				
					 
					
					
					{Function}
					callback
					
					
					
						the function to call when the command is invoked
						
						
					
					
					
						
						
						
						
					
					
					{String}
					description
					
					
					
						the command's description
						
						
					
					
					
						
						
						
						
					
					
					{String}
					name
					
					
					
						the command's name
						
						
					
					
					
						
						
						
						
					
					
					{orion.shell.Parameter[]}
					parameters
					
					
					
						the parameters accepted by the command
						
						
					
					
					
						
						
						
						
					
					
					{String}
					returnType
					
					
					
						the type of value to be displayed when the command has
    completed, valid types are "string" (default) and "html" (a returned "html"
    value is a DOM node)