|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The InsightProvider
interface describes the public API
available for the portion of Insight responsible for looking up
Insight assistance information for the user. The search is based
on the current caret position in the editor, the data of the
document near the caret (and the document type.)
Results of the search for Insight information is returned by an InsightData instance, and displayed within an InsightView (also created by this class.)
Currently, this implementation is limited to a single view for a given provider.
Insight
,
InsightData
,
InsightView
Method Summary | |
InsightData |
getInsightData(BasicEditorPane editorPane)
Performs a search for insight information using the document and caret position in the given editor pane. |
InsightView |
getInsightView()
Fetches an InsightView suitable for displaying data represented by an InsightData instance created by this provider. |
InsightData |
updateInsightData(BasicEditorPane editorPane,
InsightData lastData)
Requests an update of Insight information following a document or caret change in the editor. |
Method Detail |
public InsightData getInsightData(BasicEditorPane editorPane)
editorPane
- the editor for which we want to get Insight info
public InsightData updateInsightData(BasicEditorPane editorPane, InsightData lastData)
editorPane
- the editor for which we want to update the infolastData
- the last InsightData found
public InsightView getInsightView()
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.