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 Type
    Method
    Description
    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
  • 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 be null
      context - The context where template is going to be applied, cannot be null
      acceptor - The acceptor of resulting proposal, cannot be null