public interface ICompletionProposalExtension3
ICompletionProposal
with the following functions:
Modifier and Type | Method and Description |
---|---|
IInformationControlCreator |
getInformationControlCreator()
Returns the information control creator of this completion proposal.
|
int |
getPrefixCompletionStart(IDocument document,
int completionOffset)
Returns the document offset at which the receiver would insert its
proposal.
|
CharSequence |
getPrefixCompletionText(IDocument document,
int completionOffset)
Returns the string that would be inserted at the position returned from
getPrefixCompletionStart(IDocument, int) if this proposal was
applied. |
IInformationControlCreator getInformationControlCreator()
null
if no custom control creator is availableCharSequence getPrefixCompletionText(IDocument document, int completionOffset)
getPrefixCompletionStart(IDocument, int)
if this proposal was
applied. If the replacement string cannot be determined,
null
may be returned.document
- the document that the receiver applies tocompletionOffset
- the offset into document
where the
completion takes placenull
if it cannot be
determinedint getPrefixCompletionStart(IDocument document, int completionOffset)
document
- the document that the receiver applies tocompletionOffset
- the offset into document
where the
completion takes place
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.