public class InsertArtifactProposal
extends java.lang.Object
implements org.eclipse.jface.text.contentassist.ICompletionProposal, org.eclipse.jface.text.contentassist.ICompletionProposalExtension4, org.eclipse.jface.text.contentassist.ICompletionProposalExtension5
| Modifier and Type | Class and Description |
|---|---|
static class |
InsertArtifactProposal.Configuration |
static class |
InsertArtifactProposal.SearchType
supported search types
|
| Modifier and Type | Field and Description |
|---|---|
private InsertArtifactProposal.Configuration |
config |
private int |
generatedLength |
private int |
generatedOffset |
private static org.slf4j.Logger |
log |
private org.eclipse.jface.text.Region |
region |
private org.eclipse.jface.text.ITextViewer |
sourceViewer |
| Constructor and Description |
|---|
InsertArtifactProposal(org.eclipse.jface.text.ITextViewer sourceViewer,
org.eclipse.jface.text.Region region,
InsertArtifactProposal.Configuration config) |
| 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() |
org.eclipse.swt.graphics.Point |
getSelection(org.eclipse.jface.text.IDocument document) |
boolean |
isAutoInsertable() |
private static final org.slf4j.Logger log
private org.eclipse.jface.text.ITextViewer sourceViewer
private org.eclipse.jface.text.Region region
private int generatedLength
private int generatedOffset
private InsertArtifactProposal.Configuration config
public InsertArtifactProposal(org.eclipse.jface.text.ITextViewer sourceViewer,
org.eclipse.jface.text.Region region,
InsertArtifactProposal.Configuration config)
public void apply(org.eclipse.jface.text.IDocument document)
apply in interface org.eclipse.jface.text.contentassist.ICompletionProposalpublic org.eclipse.swt.graphics.Point getSelection(org.eclipse.jface.text.IDocument document)
getSelection in interface org.eclipse.jface.text.contentassist.ICompletionProposalpublic java.lang.String getAdditionalProposalInfo()
getAdditionalProposalInfo in interface org.eclipse.jface.text.contentassist.ICompletionProposalpublic java.lang.String getDisplayString()
getDisplayString in interface org.eclipse.jface.text.contentassist.ICompletionProposalpublic org.eclipse.swt.graphics.Image getImage()
getImage in interface org.eclipse.jface.text.contentassist.ICompletionProposalpublic org.eclipse.jface.text.contentassist.IContextInformation getContextInformation()
getContextInformation in interface org.eclipse.jface.text.contentassist.ICompletionProposalpublic boolean isAutoInsertable()
isAutoInsertable in interface org.eclipse.jface.text.contentassist.ICompletionProposalExtension4public java.lang.Object getAdditionalProposalInfo(org.eclipse.core.runtime.IProgressMonitor monitor)
getAdditionalProposalInfo in interface org.eclipse.jface.text.contentassist.ICompletionProposalExtension5