Class BslTemplateProcessor

    • Field Detail

      • BSL_LANGUAGE

        public static final String BSL_LANGUAGE
        String that indicates that bsl-specific templates can be processed
        See Also:
        Constant Field Values
    • Constructor Detail

      • BslTemplateProcessor

        public BslTemplateProcessor()
    • Method Detail

      • getProgrammingLanguage

        protected String getProgrammingLanguage()
        Description copied from class: TemplateProcessor
        Returns the programming language that this can process
        Specified by:
        getProgrammingLanguage in class TemplateProcessor
        Returns:
        The programming language this processor can process, cannot be null
      • createProposal

        protected org.eclipse.jface.text.contentassist.ICompletionProposal createProposal​(List<IVariable> variables,
                                                                                          ITemplate template,
                                                                                          org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
        Description copied from class: TemplateProcessor
        Creates template proposal
        Overrides:
        createProposal in class TemplateProcessor
        Parameters:
        variables - The list of the resolved variables, cannot be null
        template - The template that is processed, cannot be null
        context - The context of this template, cannot be null
        Returns:
        The completion proposal, that can apply this template, cannot be null