public class InsertSPDXLicenseProposal
extends java.lang.Object
implements org.eclipse.jface.text.contentassist.ICompletionProposal
Modifier and Type | Field and Description |
---|---|
private PomTemplateContext |
context |
private static org.slf4j.Logger |
log |
private org.eclipse.jface.text.Region |
region |
private org.eclipse.swt.graphics.Point |
selection |
private org.eclipse.jface.text.ITextViewer |
sourceViewer |
Constructor and Description |
---|
InsertSPDXLicenseProposal(org.eclipse.jface.text.ITextViewer sourceViewer,
PomTemplateContext context,
org.eclipse.jface.text.Region region) |
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.swt.graphics.Point |
getSelection(org.eclipse.jface.text.IDocument document) |
private static final org.slf4j.Logger log
private final org.eclipse.jface.text.ITextViewer sourceViewer
private final org.eclipse.jface.text.Region region
private final PomTemplateContext context
private org.eclipse.swt.graphics.Point selection
public InsertSPDXLicenseProposal(org.eclipse.jface.text.ITextViewer sourceViewer, PomTemplateContext context, org.eclipse.jface.text.Region region)
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