|
Eclipse Platform Pre-release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Extends IContentAssit with the concept of a
content assist subject which provides the context for
the content assistant.
XXX: This is work in progress and can change anytime until API for 3.0 is frozen.
IContentAssistSubject| Method Summary | |
ICompletionProposal[] |
computeCompletionProposals(IContentAssistSubject contentAssistSubject,
int documentOffset)
Returns a list of completion proposals based on the specified location within the document that corresponds to the current cursor position within the text viewer. |
IContextInformation[] |
computeContextInformation(IContentAssistSubject contentAssistSubject,
int documentOffset)
Returns information about possible contexts based on the specified location within the document that corresponds to the current cursor position within the content assist subject. |
| Method Detail |
public ICompletionProposal[] computeCompletionProposals(IContentAssistSubject contentAssistSubject,
int documentOffset)
contentAssistSubject - the content assist subject whose
document is used to compute the proposals
null if no
proposals are possible
public IContextInformation[] computeContextInformation(IContentAssistSubject contentAssistSubject,
int documentOffset)
contentAssistSubject - the content assist subject whose
document is used to compute the possible contexts
null
if no context could be found
|
Eclipse Platform Pre-release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||