Interface IFactoryServiceProvider
-
- All Known Implementing Classes:
FactoryServiceProvider
public interface IFactoryServiceProvider
This class provides service for creating variables for certain languages
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<IVariable>
createVariables(String language, String pattern, IVariableFinder finder, org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
Creates variables for given parametersList<IVariablePresentation>
getPresentations(String language)
Returns the presentations maintained by this service for given language
-
-
-
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 benull
pattern
- The pattern of the template, cannot benull
finder
- The finder to find variable occurrences, cannot benull
context
- The context of content assist invocation, cannot benull
- 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 benull
- Returns:
- The list of presentations associated with given language, cannot be
null
-
-