|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extends ICompletionProposal
with the following functions:
Method Summary | |
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. |
Method Detail |
public IInformationControlCreator getInformationControlCreator()
null
if no custom control creator is availablepublic CharSequence 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 place
null
if it cannot be
determinedpublic int getPrefixCompletionStart(IDocument document, int completionOffset)
document
- the document that the receiver applies tocompletionOffset
- the offset into document
where the
completion takes place
|
Eclipse Platform Release 3.4 |
||||||||||
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, 2008. All rights reserved.