Interface ITemplateProcessor
- All Known Implementing Classes:
BslTemplateProcessor
,TemplateProcessor
public interface ITemplateProcessor
This interface processes template by resolving its variables and accepting it as
a proposal
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(ITemplate template, org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context, org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor) Processes template by resolving its variables with given context and accepting it with acceptor
-
Method Details
-
process
void process(ITemplate template, org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context, org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor) Processes template by resolving its variables with given context and accepting it with acceptor- Parameters:
template
- The template to process, cannot benull
context
- The context where template is going to be applied, cannot benull
acceptor
- The acceptor of resulting proposal, cannot benull
-