Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.jface.text.contentassist
Interface ICompletionProposalExtension3  view ICompletionProposalExtension3 download ICompletionProposalExtension3.java


public interface ICompletionProposalExtension3

Extends ICompletionProposal with the following functions:

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, null may 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, completionOffset will be used instead.