Class orion.editor.InputManager
				
				
			
				
				
				
					
Defined in:  </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.ui/web/orion/inputManager.js>.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| Method Attributes | Method Name and Description | 
|---|---|
| confirmUnsavedChanges(afterConfirm, cancelCallback, targetNode)
								 | |
| getInput()
								 | |
| getTitle()
								 | |
| load(charset, nofocus)
								 | |
| onFocus()
								 | |
| processParameters(input)
								 | |
| reportStatus(msg)
								 | |
| save(closing)
								 | |
| setAutoLoadEnabled(enabled)
								 | |
| setAutoSaveTimeout(timeout)
								 Set the autosave timeout. | |
| setAutoSyntaxCheck(syntaxChecker, timeout)
								 Set the auto syntax check timeout. | |
| setContentType(contentType)
								 | |
| setEncodingCharset(charset)
								 | |
| setFormatOnSave(enabled)
								 | |
| setInput(loc, noFocus)
								 | |
| setSaveDiffsEnabled(enabled)
								 | |
| setTitle(title)
								 | 
					Method Detail
				
				
					 
					
					
					
					confirmUnsavedChanges(afterConfirm, cancelCallback, targetNode)
					
					
					- Parameters:
- afterConfirm
- cancelCallback
- targetNode
					
					
					getAutoLoadEnabled()
					
					
					
					
					
					getAutoSaveEnabled()
					
					
					
					
					
					getContentType()
					
					
					
					
					
					getEditor()
					
					
					
					
					
					getEncodingCharset()
					
					
					
					
					
					getFileMetadata()
					
					
					
					
					
					getFormatOnSaveEnabled()
					
					
					
					
					
					getInput()
					
					
					
					
					
					getLocation()
					
					
					
					
					
					getReadOnly()
					
					
					
					
					
					getTitle()
					
					
					
					
					
					isSaveEnabled()
					
					
					
					
					
					load(charset, nofocus)
					
					
					- Parameters:
- charset
- nofocus
					
					
					onFocus()
					
					
					
					
					
					processParameters(input)
					
					
					- Parameters:
- input
					
					
					reportStatus(msg)
					
					
					- Parameters:
- msg
					
					
					save(closing)
					
					
					- Parameters:
- closing
					
					
					setAutoLoadEnabled(enabled)
					
					
					- Parameters:
- enabled
					
					
					setAutoSaveTimeout(timeout)
					
					
					
						Set the autosave timeout. If the timeout is 
					
					
					
						
							-1, autosave is
disabled.
						
						
					- Parameters:
- {Number} timeout
- - the autosave timeout in milliseconds
					
					
					setAutoSyntaxCheck(syntaxChecker, timeout)
					
					
					
						Set the auto syntax check timeout. Recommended this is only set when autosave is turned off
because save operations will already run the syntax checker.
						
						
					
					
					
					
						
							- Parameters:
- syntaxChecker
- {Function} Function that will execute the syntax check
- timeout
- {Number} How long to idle before syntax checking in milliseconds, -1 to disable
					
					
					setContentType(contentType)
					
					
					- Parameters:
- contentType
					
					
					setEncodingCharset(charset)
					
					
					- Parameters:
- charset
					
					
					setFormatOnSave(enabled)
					
					
					- Parameters:
- enabled
					
					
					setInput(loc, noFocus)
					
					
					- Parameters:
- loc
- noFocus
					
					
					setSaveDiffsEnabled(enabled)
					
					
					- Parameters:
- enabled
					
					
					setTitle(title)
					
					
					- Parameters:
- title