|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.texteditor.HippieProposalProcessor
public final class HippieProposalProcessor
A completion proposal computer for hippie word completions.
Clients may instantiate.
| Constructor Summary | |
|---|---|
HippieProposalProcessor()
Creates a new hippie completion proposal computer. |
|
| Method Summary | |
|---|---|
ICompletionProposal[] |
computeCompletionProposals(ITextViewer viewer,
int offset)
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(ITextViewer viewer,
int offset)
Returns information about possible contexts based on the specified location within the document that corresponds to the current cursor position within the text viewer. |
char[] |
getCompletionProposalAutoActivationCharacters()
Returns the characters which when entered by the user should automatically trigger the presentation of possible completions. |
char[] |
getContextInformationAutoActivationCharacters()
Returns the characters which when entered by the user should automatically trigger the presentation of context information. |
IContextInformationValidator |
getContextInformationValidator()
Returns a validator used to determine when displayed context information should be dismissed. |
java.lang.String |
getErrorMessage()
Returns the reason why this content assist processor was unable to produce any completion proposals or context information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HippieProposalProcessor()
| Method Detail |
|---|
public ICompletionProposal[] computeCompletionProposals(ITextViewer viewer,
int offset)
IContentAssistProcessor
computeCompletionProposals in interface IContentAssistProcessorviewer - the viewer whose document is used to compute the proposalsoffset - an offset within the document for which completions should be computed
null if no proposals are possible
public IContextInformation[] computeContextInformation(ITextViewer viewer,
int offset)
IContentAssistProcessor
computeContextInformation in interface IContentAssistProcessorviewer - the viewer whose document is used to compute the possible contextsoffset - an offset within the document for which context information should be computed
null if no context could be foundpublic char[] getCompletionProposalAutoActivationCharacters()
IContentAssistProcessor
getCompletionProposalAutoActivationCharacters in interface IContentAssistProcessornull
if no auto activation is desiredpublic char[] getContextInformationAutoActivationCharacters()
IContentAssistProcessor
getContextInformationAutoActivationCharacters in interface IContentAssistProcessornull if no auto activation is desiredpublic IContextInformationValidator getContextInformationValidator()
IContentAssistProcessornull if the processor is
incapable of computing context information.
getContextInformationValidator in interface IContentAssistProcessornull if the processor
is incapable of computing context informationpublic java.lang.String getErrorMessage()
IContentAssistProcessor
getErrorMessage in interface IContentAssistProcessornull if no error occurred
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.