Class Index | File Index

Classes


Class orion.editor.InputManager


Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.ui/web/orion/inputManager.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
 
 
 
 
 
 
 
 
 
 
 
 
load(charset, nofocus)
 
 
 
 
save(closing)
 
 
Set the autosave timeout.
 
setAutoSyntaxCheck(syntaxChecker, timeout)
Set the auto syntax check timeout.
 
setContentType(contentType)
 
 
setFormatOnSave(enabled)
 
setInput(loc, noFocus)
 
 
setTitle(title)
Class Detail
orion.editor.InputManager()
Method Detail
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

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Mar 17 2017 08:51:35 GMT-0400 (EDT)