Class orion.compare.FileOptions
This object describes options of a file. Two instances of this object construct the core parameters of a compare view.
See:
orion.compare.CompareView
orion.compare.CompareViewOptions
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/compare/compareView.js>.
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| Field Attributes | Field Name and Description | 
|---|---|
| the text contents of the file unit. | |
| the file name. | |
| whether or not the file is in readonly mode. | |
| the type of the file. | 
					Field Detail
				
				
					 
					
					
					{String}
					Content
					
					
					
						the text contents of the file unit. Requied.
						
						
					
					
					
						
						
						
						
					
					
					{String}
					Name
					
					
					
						the file name. Optional but required if the compare view has to show file title.
						
						
					
					
					
						
						
						
						
					
					
					{Boolean}
					readonly
					
					
					
						whether or not the file is in readonly mode. Optional.
						
						
					
					
					
						
						
						
						
							- Default Value:
- true
					
					{orion.core.ContentType}
					Type
					
					
					
						the type of the file. Optional but required if the compare view has to highlight the syntax.