|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension interface for IContentAssistProcessor
which provides the context for the
subject control content assistant.
Method Summary | |
---|---|
ICompletionProposal[] |
computeCompletionProposals(IContentAssistSubjectControl contentAssistSubjectControl,
int documentOffset)
Deprecated. 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(IContentAssistSubjectControl contentAssistSubjectControl,
int documentOffset)
Deprecated. 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 control. |
Methods inherited from interface org.eclipse.jface.text.contentassist.IContentAssistProcessor |
---|
computeCompletionProposals, computeContextInformation, getCompletionProposalAutoActivationCharacters, getContextInformationAutoActivationCharacters, getContextInformationValidator, getErrorMessage |
Method Detail |
public ICompletionProposal[] computeCompletionProposals(IContentAssistSubjectControl contentAssistSubjectControl, int documentOffset)
contentAssistSubjectControl
- the content assist subject control whose
document is used to compute the proposalsdocumentOffset
- an offset within the document for which
completions should be computed
null
if no
proposals are possiblepublic IContextInformation[] computeContextInformation(IContentAssistSubjectControl contentAssistSubjectControl, int documentOffset)
contentAssistSubjectControl
- the content assist subject control whose
document is used to compute the possible contextsdocumentOffset
- an offset within the document for which context
information should be computed
null
if no context could be found
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.