public class InsertArtifactProposal extends 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
|
Constructor and Description |
---|
InsertArtifactProposal(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
org.eclipse.jface.text.Region region,
InsertArtifactProposal.Configuration config) |
Modifier and Type | Method and Description |
---|---|
void |
apply(org.eclipse.jface.text.IDocument document) |
String |
getAdditionalProposalInfo() |
Object |
getAdditionalProposalInfo(org.eclipse.core.runtime.IProgressMonitor monitor) |
org.eclipse.jface.text.contentassist.IContextInformation |
getContextInformation() |
String |
getDisplayString() |
org.eclipse.swt.graphics.Image |
getImage() |
org.eclipse.swt.graphics.Point |
getSelection(org.eclipse.jface.text.IDocument document) |
boolean |
isAutoInsertable() |
public InsertArtifactProposal(org.eclipse.jface.text.source.ISourceViewer 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.ICompletionProposal
public org.eclipse.swt.graphics.Point getSelection(org.eclipse.jface.text.IDocument document)
getSelection
in interface org.eclipse.jface.text.contentassist.ICompletionProposal
public String getAdditionalProposalInfo()
getAdditionalProposalInfo
in interface org.eclipse.jface.text.contentassist.ICompletionProposal
public 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 boolean isAutoInsertable()
isAutoInsertable
in interface org.eclipse.jface.text.contentassist.ICompletionProposalExtension4
public Object getAdditionalProposalInfo(org.eclipse.core.runtime.IProgressMonitor monitor)
getAdditionalProposalInfo
in interface org.eclipse.jface.text.contentassist.ICompletionProposalExtension5
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.