Interface ITemplateContext

  • All Superinterfaces:
    Cloneable
    All Known Implementing Classes:
    BslTemplateContext

    public interface ITemplateContext
    extends Cloneable
    The context of the template, which is used to define, where the template is applicable
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean check​(org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
      Checks whether this template is applicable in the given context
    • Method Detail

      • check

        boolean check​(org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
        Checks whether this template is applicable in the given context
        Parameters:
        context - The context where the check is occurred, cannot be null
        Returns:
        Whether this is applicable in the given context