public class QuickAssistCompletionProposal
extends java.lang.Object
implements org.eclipse.jface.text.contentassist.ICompletionProposal, org.eclipse.jface.text.contentassist.ICompletionProposalExtension3
Constructor and Description |
---|
QuickAssistCompletionProposal(org.eclipse.jface.text.Position pos,
IssueResolution resolution,
org.eclipse.swt.graphics.Image image) |
Modifier and Type | Method and Description |
---|---|
void |
apply(org.eclipse.jface.text.IDocument document) |
java.lang.String |
getAdditionalProposalInfo() |
org.eclipse.jface.text.contentassist.IContextInformation |
getContextInformation() |
java.lang.String |
getDisplayString() |
org.eclipse.swt.graphics.Image |
getImage() |
org.eclipse.jface.text.IInformationControlCreator |
getInformationControlCreator() |
int |
getPrefixCompletionStart(org.eclipse.jface.text.IDocument document,
int completionOffset) |
java.lang.CharSequence |
getPrefixCompletionText(org.eclipse.jface.text.IDocument document,
int completionOffset) |
int |
getRelevance() |
org.eclipse.swt.graphics.Point |
getSelection(org.eclipse.jface.text.IDocument document) |
public QuickAssistCompletionProposal(org.eclipse.jface.text.Position pos, IssueResolution resolution, org.eclipse.swt.graphics.Image image)
public void apply(org.eclipse.jface.text.IDocument document)
apply
in interface org.eclipse.jface.text.contentassist.ICompletionProposal
public org.eclipse.swt.graphics.Point getSelection(org.eclipse.jface.text.IDocument document)
getSelection
in interface org.eclipse.jface.text.contentassist.ICompletionProposal
public java.lang.String getAdditionalProposalInfo()
getAdditionalProposalInfo
in interface org.eclipse.jface.text.contentassist.ICompletionProposal
public java.lang.String getDisplayString()
getDisplayString
in interface org.eclipse.jface.text.contentassist.ICompletionProposal
public int getRelevance()
public org.eclipse.swt.graphics.Image getImage()
getImage
in interface org.eclipse.jface.text.contentassist.ICompletionProposal
public org.eclipse.jface.text.contentassist.IContextInformation getContextInformation()
getContextInformation
in interface org.eclipse.jface.text.contentassist.ICompletionProposal
public org.eclipse.jface.text.IInformationControlCreator getInformationControlCreator()
getInformationControlCreator
in interface org.eclipse.jface.text.contentassist.ICompletionProposalExtension3
public int getPrefixCompletionStart(org.eclipse.jface.text.IDocument document, int completionOffset)
getPrefixCompletionStart
in interface org.eclipse.jface.text.contentassist.ICompletionProposalExtension3
public java.lang.CharSequence getPrefixCompletionText(org.eclipse.jface.text.IDocument document, int completionOffset)
getPrefixCompletionText
in interface org.eclipse.jface.text.contentassist.ICompletionProposalExtension3