Class QueryTextVariableFactory
- java.lang.Object
-
- com.e1c.g5.v8.dt.bsl.ui.templates.variables.QueryTextVariableFactory
-
- All Implemented Interfaces:
IVariableFactory
public class QueryTextVariableFactory extends Object implements IVariableFactory
Factory for creatingQueryTextVariable
-
-
Field Summary
Fields Modifier and Type Field Description static String
QUERY_TEXT_NAME_ENG
Localized to english name of the variable to identify itstatic String
QUERY_TEXT_NAME_RU
Localized to russian name of the variable to identify it
-
Constructor Summary
Constructors Constructor Description QueryTextVariableFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IVariable
create(IVariableOccurrence occurrence, org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
Creates variables for given occurrenceIVariablePresentation
getPresentation()
Return presentation of the variable, that is created by this factory
-
-
-
Field Detail
-
QUERY_TEXT_NAME_RU
public static final String QUERY_TEXT_NAME_RU
Localized to russian name of the variable to identify it- See Also:
- Constant Field Values
-
QUERY_TEXT_NAME_ENG
public static final String QUERY_TEXT_NAME_ENG
Localized to english name of the variable to identify it- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public IVariable create(IVariableOccurrence occurrence, org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
Description copied from interface:IVariableFactory
Creates variables for given occurrence- Specified by:
create
in interfaceIVariableFactory
context
- The context of this template, cannot benull
- Returns:
- The created variables, cannot be
null
-
getPresentation
public IVariablePresentation getPresentation()
Description copied from interface:IVariableFactory
Return presentation of the variable, that is created by this factory- Specified by:
getPresentation
in interfaceIVariableFactory
- Returns:
- The presentation of created variable, cannot be
null
-
-