Class Index | File Index

Classes


Class orion.editor.ContentAssistWidget

Displays proposals from a orion.editor.ContentAssist.
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/contentAssist.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
orion.editor.ContentAssistWidget(contentAssist, parentNode)
Creates a ContentAssistWidget that will display proposals from the given orion.editor.ContentAssist in the given parentNode.
Method Summary
Method Attributes Method Name and Description
 
hide()
 
 
selectNode(nodeIndex)
Visually selects the node at the specified nodeIndex by updating its CSS class and scrolling it into view if necessary.
 
 
show()
Class Detail
orion.editor.ContentAssistWidget(contentAssist, parentNode)
Creates a ContentAssistWidget that will display proposals from the given orion.editor.ContentAssist in the given parentNode. Clicking a proposal will cause the ContentAssist to apply that proposal.
Parameters:
{orion.editor.ContentAssist} contentAssist
{String|DomNode} parentNode Optional
The ID or DOM node to use as the parent for displaying proposals. If not provided, a new DIV will be created inside <body> and assigned the CSS class contentassist.
Method Detail
hide()

position()

selectNode(nodeIndex)
Visually selects the node at the specified nodeIndex by updating its CSS class and scrolling it into view if necessary.
Parameters:
nodeIndex

setContentAssistMode(mode)
Parameters:
mode

show()

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 04 2017 10:51:56 GMT-0400 (EDT)