Interface IFactoryServiceProvider

  • All Known Implementing Classes:
    FactoryServiceProvider

    public interface IFactoryServiceProvider
    This class provides service for creating variables for certain languages
    • Method Detail

      • createVariables

        List<IVariable> createVariables​(String language,
                                        String pattern,
                                        IVariableFinder finder,
                                        org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
        Creates variables for given parameters
        Parameters:
        language - The language that variables are created for, cannot be null
        pattern - The pattern of the template, cannot be null
        finder - The finder to find variable occurrences, cannot be null
        context - The context of content assist invocation, cannot be null
        Returns:
        The list of created variables, cannot be null
      • getPresentations

        List<IVariablePresentation> getPresentations​(String language)
        Returns the presentations maintained by this service for given language
        Parameters:
        language - The language to get presentations for, cannot be null
        Returns:
        The list of presentations associated with given language, cannot be null