Interface IVariableFactory

    • Method Detail

      • create

        IVariable create​(IVariableOccurrence occurrence,
                         org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
        Creates variables for given occurrence
        Parameters:
        occurences - The occurrences of the variable in the pattern, cannot be null
        context - The context of this template, cannot be null
        Returns:
        The created variables, cannot be null
      • getPresentation

        IVariablePresentation getPresentation()
        Return presentation of the variable, that is created by this factory
        Returns:
        The presentation of created variable, cannot be null