Built-In Namespace _global_
Field Attributes | Field Name and Description |
---|---|
Keeps a record of the 'invocation' object for a rendered command.
|
|
This is an override of the normal addEventListener to allow it to
keep listeners synch'd with the current binding overrides whether or not they get added before or
after the actual binding overrides have been retrieved from the preference store.
|
|
Creates a new content assist manager for the given text view
|
|
Creates an override for the binding of a particular Command or Text Action.
|
|
Formats the origin into a readable string that can fit in content assist.
|
|
Return an {Object} containing all active environments in the given ast based on eslint env and global settings
|
|
returns the binding that the given id should be overridden with (or null if no override exists).
|
|
Return the best contentType match to the given filename or null if no match.
|
|
Returns a completion proposal for the given type object or
null |
|
Creates a new TernServer
|
|
Create a new LinkedMode
|
|
Matches a comment delimiter (*) as the start of the line, and traverses up the lines to confirm if
it is a multi-line comment by matching the start of a block comment.
|
|
Creates a new instance of the metrics service
|
|
function called when a comment is recorded
|
|
Function called when recording a token
|
|
orion.shell.CompletionStatus.PARTIAL
the current text matches a subset of the initial characters of a valid
argument value (ie.- a value in the midst of being typed)
the current text matches a subset of the initial characters of a valid
argument value (ie.- a value in the midst of being typed)
|
|
Returns the pixel value of the given CSS attribute
|
|
Create a new instance
|
|
Creates a new ProblemsFileModel
|
|
Create a new ProblemsFileRenderer
|
|
Create a new ProblemsModel
|
|
Create a new instance of the ProblemRenderer
|
|
Generates an explorer showing the sites on each site service.
|
|
Creates a new TernServer
|
|
Tooltip support for text views
show() - Opens the tooltip
update() - Updates the content of the open tooltip
onHover() - Checks if the x,y coordinates are outside the current tooltip area and updates the tooltip if necessary
hide() - Closes the tooltip
isVisible() - Returns whether the tooltip is currently showing
The methods above ask for a tooltipInfo object, which must contain a callback function getTooltipInfo()
This function must return an info object with the following contents:
Info {
Contents {string, html element, annotation array, etc.
|
Method Attributes | Method Name and Description |
---|---|
_update(input)
|
|
constructor(start, end, title)
|
|
error()
wraps logging in case we have the worker support turned on
|
|
get(namespace, key, options)
Gets one or more preferences from the node specified by
namespace . |
|
Get the file client;
|
|
Returns an editable ruleset to pass into verify() based on values set in the config settings
|
|
getValidators(loc, contentType)
Returns the filtered list of validators that aply to the given location and content type
|
|
handleClosingBracket(closingChar)
When the user types a closing bracket we should skip auto-paired brackets and reduce indenting if
we are on a new line.
|
|
handler(event)
|
|
handleResult(result)
|
|
hide()
Hides the current tooltip (if it's showing)
|
|
initialize(loc, contentType)
Allows providers that implement this function to pre-initisalize their state, etc, before being called later to actually perform validation
|
|
insensitive(str)
|
|
isValidTextPosition(x, y)
Return whether the given x/y pixel position, relative to the document, is inside of document text.
|
|
Returns a boolean indicating whether the tooltip is currently visible
|
|
listener()
|
|
log()
wraps logging in case we have the worker support turned on
|
|
nud()
|
|
onchange(e)
|
|
onClickThen(doIt)
|
|
onconnect(evnt)
Worker callback when a shared worker starts up
|
|
onerror(evnt)
Worker callback when an error occurs
|
|
onHover(tooltipInfo, x, y)
Checks the x,y location and updates the tooltip contents or hides the tooltip as appropriate
|
|
onload()
|
|
onmessage(evnt)
Worker callback when a message is sent to the worker
|
|
put(namespace, data, options)
Sets multiple preferences in the node specified by
namespace . |
|
remove(namespace, key, options)
Removes one or more preferences in the node specified by
namespace . |
|
show(tooltipInfo, target, locked, giveFocus)
Show the tooltip using the given target information
|
|
skip()
|
|
statusReporter(message, isError)
|
|
update(tooltipInfo, noContent)
Updates the information in an already visible tooltip
|
Field Detail
_registerRenderedCommand
Keeps a record of the 'invocation' object for a rendered command. The invocation contains
a lot of information about the rendered item (including the DOM element created to show it). This is currently
used to update the menu item's key binding info if its binding changes.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js>.
addEventListener
This is an override of the normal addEventListener to allow it to
keep listeners synch'd with the current binding overrides whether or not they get added before or
after the actual binding overrides have been retrieved from the preference store.
Once the overrides preference is loaded any currently registered listeners are informed of the current
binding overrides. Subsequent listeners are also informed when they get added.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js>.
ContentAssist
Creates a new content assist manager for the given text view
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/contentAssist.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/contentAssist.js>.
createBindingOverride
Creates an override for the binding of a particular Command or Text Action.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js>.
formatOrigin
Formats the origin into a readable string that can fit in content assist.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/contentAssist/ternAssist.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/contentAssist/ternAssist.js>.
getActiveEnvironments
Return an {Object} containing all active environments in the given ast based on eslint env and global settings
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/ternPlugins/jsdoc.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/ternPlugins/jsdoc.js>.
getBindingOverride
returns the binding that the given id should be overridden with (or null if no override exists). Note that
this method is only valid for Commands, not Text Actions,
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js>.
getFilenameContentType
Return the best contentType match to the given filename or null if no match. Filename pattern checked first, then extension
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.core/web/orion/contentTypes.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.core/web/orion/contentTypes.js>.
getProposalForType
Returns a completion proposal for the given type object or
null if no proposal should be added
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/ternPlugins/jsdoc.js>.
{TernServer}
JavaScript
Creates a new TernServer
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/api/javaScript.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/api/javaScript.js>.
- Since:
- 11.0
JSLINT
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/jslintworker.js>.
LinkedMode
Create a new LinkedMode
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/linkedMode.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/linkedMode.js>.
match
Matches a comment delimiter (*) as the start of the line, and traverses up the lines to confirm if
it is a multi-line comment by matching the start of a block comment. If so, continue the
multi-line comment in the next line. Any text that follows after the caret is moved to the newly
added comment delimiter.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/actions.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/actions.js>.
{Metrics}
Metrics
Creates a new instance of the metrics service
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.core/web/orion/metrics.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.core/web/orion/metrics.js>.
- Since:
- 12.0
onComment
function called when a comment is recorded
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/orionAcorn.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/orionAcorn.js>.
onToken
Function called when recording a token
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/orionAcorn.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/orionAcorn.js>.
orion.shell.CompletionStatus.PARTIAL
the current text matches a subset of the initial characters of a valid
argument value (ie.- a value in the midst of being typed)
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/shell/Shell.js>.
pixelValueOf
Returns the pixel value of the given CSS attribute
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/webui/littlelib.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/webui/littlelib.js>.
{ProblemsExplorer}
ProblemsExplorer
Create a new instance
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/problems/problemsExplorer.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/problems/problemsExplorer.js>.
{ProblemsFileModel}
ProblemsFileModel
Creates a new ProblemsFileModel
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/problems/problemsExplorer.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/problems/problemsExplorer.js>.
{ProblemsFileRenderer}
ProblemsFileRenderer
Create a new ProblemsFileRenderer
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/problems/problemsExplorer.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/problems/problemsExplorer.js>.
{ProblemsModel}
ProblemsModel
Create a new ProblemsModel
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/problems/problemsExplorer.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/problems/problemsExplorer.js>.
{ProblemsRenderer}
ProblemsRenderer
Create a new instance of the ProblemRenderer
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/problems/problemsExplorer.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/problems/problemsExplorer.js>.
SiteServicesExplorer
Generates an explorer showing the sites on each site service.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/sites/sitesExplorer.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/sites/sitesExplorer.js>.
SitesRenderer
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/sites/sitesExplorer.js>.
SiteTreeModel
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/sites/sitesExplorer.js>.
{TernServer}
TernServer
Creates a new TernServer
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/api/ternServer.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/api/ternServer.js>.
Tooltip
Tooltip support for text views
show() - Opens the tooltip
update() - Updates the content of the open tooltip
onHover() - Checks if the x,y coordinates are outside the current tooltip area and updates the tooltip if necessary
hide() - Closes the tooltip
isVisible() - Returns whether the tooltip is currently showing
The methods above ask for a tooltipInfo object, which must contain a callback function getTooltipInfo()
This function must return an info object with the following contents:
Info {
Contents {string, html element, annotation array, etc.} Contents to display, if undefined, the hover service will be asked for content
Context {source, offset, offsetStart, offsetEnd}} Information used to modify the tooltip position or contents
Position {String} One of left, right, top, bottom used to position the tooltip relative to the anchor area
AnchorArea {top, left, width, height} rectangle defining the source of the tooltip and where to position relative to
TooltipArea {top, left, width, height} rectangle to define the tooltip's exact placement rather than a relative position to the anchor
TooltipOffsetX {Number} Hint to move the tooltip position horizontally
TooltipOffsetY {Number} Hint to move the tooltip position vertically
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js>.
Method Detail
_update(input)
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js>.
- Parameters:
- input
closeFunction()
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js>.
constructor(start, end, title)
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
- Parameters:
- start
- end
- title
error()
wraps logging in case we have the worker support turned on
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/logger.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/logger.js>.
- Since:
- 7.0
get(namespace, key, options)
Gets one or more preferences from the node specified by
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.core/web/orion/preferences.js>.
namespace
.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.core/web/orion/preferences.js>.
- Parameters:
- {String} namespace
- A slash-delimited path to the preference node to get
- {String|Array|Object} key Optional, Default: undefined
- the key, or array of keys, or an object specifying the default
values of the keys to get. An empty array or object will return an empty object. Pass in
null
orundefined
- options
- the options object
- Returns:
- A promise that will resolve when the preferences has been retrivied. The promise result is an object with key-value mappings.
{orion.FileClient}
getFileClient()
Get the file client;
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/searchClient.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/searchClient.js>.
- Returns:
- {orion.FileClient} returns a file client
{Object}
getRuleSet()
Returns an editable ruleset to pass into verify() based on values set in the config settings
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.webtools/web/webtools/cssValidator.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.webtools/web/webtools/cssValidator.js>.
- Returns:
- {Object} A ruleset based on the config settings
{Array.
getValidators(loc, contentType)
Returns the filtered list of validators that aply to the given location and content type
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/syntaxchecker.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/syntaxchecker.js>.
- Since:
- 12.0
- Returns:
- {Array. The array of applicable validators or the empty array
handleClosingBracket(closingChar)
When the user types a closing bracket we should skip auto-paired brackets and reduce indenting if
we are on a new line.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/actions.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/actions.js>.
- Parameters:
- closingChar
- {String} the closing bracket character
- Returns:
- returns
true
to skip printing the closing bracket, false to print it
handler(event)
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/sites/siteMappingsTable.js>.
- Parameters:
- event
handleResult(result)
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/editorCommands.js>.
- Parameters:
- result
hide()
Hides the current tooltip (if it's showing)
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js>.
initialize(loc, contentType)
Allows providers that implement this function to pre-initisalize their state, etc, before being called later to actually perform validation
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/syntaxchecker.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/syntaxchecker.js>.
- Parameters:
- {String} loc
- The location path to initialize from
- {Object} contentType
- The optional content type
- Since:
- 12.0
insensitive(str)
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/keyAssist.js>.
- Parameters:
- str
isValidTextPosition(x, y)
Return whether the given x/y pixel position, relative to the document, is inside of document text.
This tests both whether the y position is below the text lines of the document as we as whether the
x position is within the text of the line.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js>.
- Parameters:
- x
- {Number} [x] the x pixel position
- y
- {Number} [y] the line pixel position
- Returns:
- returns {Boolean} true if the pixel position is over text content
{boolean}
isVisible()
Returns a boolean indicating whether the tooltip is currently visible
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js>.
- Returns:
- {boolean} 'true' iff the tooltip is currently visible
listener()
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/gitCommitList.js>.
log()
wraps logging in case we have the worker support turned on
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/logger.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/logger.js>.
- Since:
- 7.0
nud()
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/jslintworker.js>.
onchange(e)
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/widgets/themes/ThemeBuilder.js>.
- Parameters:
- e
onClickThen(doIt)
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/commands.js>.
- Parameters:
- doIt
onconnect(evnt)
Worker callback when a shared worker starts up
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/ternWorkerCore.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/ternWorkerCore.js>.
- Parameters:
- evnt
onerror(evnt)
Worker callback when an error occurs
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/ternWorkerCore.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/ternWorkerCore.js>.
- Parameters:
- evnt
onHover(tooltipInfo, x, y)
Checks the x,y location and updates the tooltip contents or hides the tooltip as appropriate
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js>.
- Parameters:
- tooltipInfo
- a function that will return the parameters need to update the information (see _processInfo())
- x
- coordinates of the mouse event
- y
- coordinates of the mouse event
onload()
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/markdownView.js>.
onmessage(evnt)
Worker callback when a message is sent to the worker
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/ternWorkerCore.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/ternWorkerCore.js>.
- Parameters:
- evnt
put(namespace, data, options)
Sets multiple preferences in the node specified by
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.core/web/orion/preferences.js>.
namespace
.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.core/web/orion/preferences.js>.
- Parameters:
- {String} namespace
- A slash-delimited path to the preference node to update
- data
- An object with key-value pairs to update. Any other key/value pairs in the node will not be affected unless the
options
clear
is set. - options
- the options object
- Returns:
- A promise that will resolve when the preferences has been updated.
remove(namespace, key, options)
Removes one or more preferences in the node specified by
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.core/web/orion/preferences.js>.
namespace
.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.core/web/orion/preferences.js>.
- Parameters:
- {String} namespace
- A slash-delimited path to the preference node to update
- {String|Array|Object} key Optional, Default: undefined
- the key, or array of keys, or an object specifying the
the keys to remove. An empty array or object will remove nothing. Pass in
null
orundefined
to remove all the preferences of the specified node. - options
- the options object
- Returns:
- A promise that will resolve when the preferences has been updated.
show(tooltipInfo, target, locked, giveFocus)
Show the tooltip using the given target information
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js>.
- Parameters:
- tooltipInfo
- a function that will return the tooltip contents (see _processInfo())
- target
- The target through which the info is obtained
- locked
- If true locks the tooltip (never hides unless 'hide' is called)
- giveFocus
- If true forces the focus onto the tooltip (used for F2 processing)
skip()
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/textModel.js>.
statusReporter(message, isError)
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.ui/web/orion/compare/compareView.js>.
- Parameters:
- message
- isError
update(tooltipInfo, noContent)
Updates the information in an already visible tooltip
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js>.
Defined in: </jobs/genie.orion/orion-client-dev/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js>.
- Parameters:
- tooltipInfo
- a function that will return the parameters need to update the information (see _processInfo())
- noContent
- If true makes no attempt to gather new info and just updates the tooltip's position