|
|||||||||
| Home >> All >> org >> eclipse >> jface >> text >> [ contentassist overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.jface.text.contentassist
Interface ICompletionProposalExtension3

- public interface ICompletionProposalExtension3
Extends ICompletionProposal with the following functions:
- provision of a custom information control creator
- provide a custom completion text and offset for prefix completion
- Since:
- 3.0
| Method Summary | |
org.eclipse.jface.text.IInformationControlCreator |
getInformationControlCreator()
Returns the information control creator of this completion proposal. |
int |
getPrefixCompletionStart(org.eclipse.jface.text.IDocument document,
int completionOffset)
Returns the document offset at which the receiver would insert its proposal. |
java.lang.CharSequence |
getPrefixCompletionText(org.eclipse.jface.text.IDocument document,
int completionOffset)
Returns the string that would be inserted at the position returned from getPrefixCompletionStart(IDocument, int) 55 if this proposal was
applied. |
| Method Detail |
getInformationControlCreator
public org.eclipse.jface.text.IInformationControlCreator getInformationControlCreator()
- Returns the information control creator of this completion proposal.
getPrefixCompletionText
public java.lang.CharSequence getPrefixCompletionText(org.eclipse.jface.text.IDocument document, int completionOffset)
- Returns the string that would be inserted at the position returned from
getPrefixCompletionStart(IDocument, int)55 if this proposal was applied. If the replacement string cannot be determined,nullmay be returned.If this interface is not implemented,
ICompletionProposal.getDisplayString()55 will be used instead.
getPrefixCompletionStart
public int getPrefixCompletionStart(org.eclipse.jface.text.IDocument document, int completionOffset)
- Returns the document offset at which the receiver would insert its
proposal.
If this interface is not implemented,
completionOffsetwill be used instead.
|
|||||||||
| Home >> All >> org >> eclipse >> jface >> text >> [ contentassist overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC