Class BslTemplateProcessor
- java.lang.Object
-
- com.e1c.g5.v8.dt.lcore.ui.templates.contentassist.TemplateProcessor
-
- com.e1c.g5.v8.dt.bsl.ui.templates.preferences.contentassist.BslTemplateProcessor
-
- All Implemented Interfaces:
ITemplateProcessor
public class BslTemplateProcessor extends TemplateProcessor
Bsl-Language template processor
-
-
Field Summary
Fields Modifier and Type Field Description static String
BSL_LANGUAGE
String that indicates that bsl-specific templates can be processed
-
Constructor Summary
Constructors Constructor Description BslTemplateProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.jface.text.contentassist.ICompletionProposal
createProposal(List<IVariable> variables, ITemplate template, org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
Creates template proposalprotected String
getProgrammingLanguage()
Returns the programming language that this can process-
Methods inherited from class com.e1c.g5.v8.dt.lcore.ui.templates.contentassist.TemplateProcessor
getFactoryServiceProvider, getVariableFinder, process
-
-
-
-
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
-
-
Method Detail
-
getProgrammingLanguage
protected String getProgrammingLanguage()
Description copied from class:TemplateProcessor
Returns the programming language that this can process- Specified by:
getProgrammingLanguage
in classTemplateProcessor
- 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 classTemplateProcessor
- Parameters:
variables
- The list of the resolved variables, cannot benull
template
- The template that is processed, cannot benull
context
- The context of this template, cannot benull
- Returns:
- The completion proposal, that can apply this template, cannot be
null
-
-