public class PovrayCompletionProcessor
extends java.lang.Object
Constructor and Description |
---|
PovrayCompletionProcessor(java.lang.String[] keywords)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ICompletionProposal[] |
computeCompletionProposals(ITextViewer viewer,
int offset) |
IContextInformation[] |
computeContextInformation(ITextViewer viewer,
int offset) |
ICompletionProposal[] |
computeTemplateProposals(ITextViewer viewer,
IRegion region,
ImageRegistry imgReg,
java.lang.String match)
Creates the template proposals.
|
char[] |
getCompletionProposalAutoActivationCharacters() |
char[] |
getContextInformationAutoActivationCharacters() |
IContextInformationValidator |
getContextInformationValidator() |
java.lang.String |
getErrorMessage() |
public PovrayCompletionProcessor(java.lang.String[] keywords)
public ICompletionProposal[] computeCompletionProposals(ITextViewer viewer, int offset)
public IContextInformation[] computeContextInformation(ITextViewer viewer, int offset)
public ICompletionProposal[] computeTemplateProposals(ITextViewer viewer, IRegion region, ImageRegistry imgReg, java.lang.String match)
viewer
- The viewer to operate on.region
- The region to operate on.imgReg
- The image registry to fetch the images from.match
- Each proposal entry has to start with this string.ICompletionProposal
objects.public char[] getCompletionProposalAutoActivationCharacters()
public char[] getContextInformationAutoActivationCharacters()
public IContextInformationValidator getContextInformationValidator()
public java.lang.String getErrorMessage()