Class Index | File Index

Classes


Class orion.editor.ContentAssistWidget

Displays proposals from a orion.editor.ContentAssist.
Defined in: </shared/eclipse/e4/orion/I201302221257/plugins/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()
 
 
setProposals(proposals)
 
Sets the index of the currently selected proposal.
 
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()

setProposals(proposals)
Parameters:
{Object[]} proposals

setSelectedIndex(index)
Sets the index of the currently selected proposal.
Parameters:
{Number} index

show()

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 22 2013 13:00:52 GMT-0500 (EST)