public class InsertExpressionProposal
extends java.lang.Object
implements org.eclipse.jface.text.contentassist.ICompletionProposal, org.eclipse.jface.text.contentassist.ICompletionProposalExtension5, org.eclipse.wst.sse.ui.internal.contentassist.IRelevanceCompletionProposal
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
key |
private int |
len |
private static org.slf4j.Logger |
log |
private org.apache.maven.project.MavenProject |
project |
private org.eclipse.jface.text.Region |
region |
Constructor and Description |
---|
InsertExpressionProposal(org.eclipse.jface.text.Region region,
java.lang.String key,
org.apache.maven.project.MavenProject mvnproject) |
Modifier and Type | Method and Description |
---|---|
void |
apply(org.eclipse.jface.text.IDocument document) |
java.lang.String |
getAdditionalProposalInfo() |
java.lang.Object |
getAdditionalProposalInfo(org.eclipse.core.runtime.IProgressMonitor monitor) |
org.eclipse.jface.text.contentassist.IContextInformation |
getContextInformation() |
java.lang.String |
getDisplayString() |
org.eclipse.swt.graphics.Image |
getImage() |
int |
getRelevance() |
org.eclipse.swt.graphics.Point |
getSelection(org.eclipse.jface.text.IDocument document) |
private static final org.slf4j.Logger log
private org.apache.maven.project.MavenProject project
private java.lang.String key
private org.eclipse.jface.text.Region region
private int len
public InsertExpressionProposal(org.eclipse.jface.text.Region region, java.lang.String key, org.apache.maven.project.MavenProject mvnproject)
public java.lang.Object getAdditionalProposalInfo(org.eclipse.core.runtime.IProgressMonitor monitor)
getAdditionalProposalInfo
in interface org.eclipse.jface.text.contentassist.ICompletionProposalExtension5
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 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 int getRelevance()
getRelevance
in interface org.eclipse.wst.sse.ui.internal.contentassist.IRelevanceCompletionProposal