Interface IStringLiteralProposalProvider
-
- All Superinterfaces:
IAvailableStringLiteralProvider
- All Known Subinterfaces:
IStringLiteralProposalProviderExtension
- All Known Implementing Classes:
AbstractStringLiteralProposalProvider
,GraphicalSchemeStringLiteralProposalProvider
,StringLiteralProposalProviderSetParameterValue
,StringLiteralProposalProviderValueToFormAttr
public interface IStringLiteralProposalProvider extends IAvailableStringLiteralProvider
Special interface for all extension points for computing proposals inStringLiteral
in Built-in language Methods of this interface process next cases of usingStringLiteral
:StringLiteral
is a parameter inInvocation
StringLiteral
is a parameter inOperatorStyleCreator
StringLiteral
is the first argument ofFunctionStyleCreator
StringLiteral
is argument ofIndexAccess
operator
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IStringLiteralProposalProvider.IBslStringLiteralProposalImageProvider
Special provider for getting image to proposal
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<org.eclipse.xtext.util.Triple<String,String,IStringLiteralProposalProvider.IBslStringLiteralProposalImageProvider>>
computeProposals(StringLiteral context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, IIndexSlicePredicateService slicePredicateService, boolean isRussian)
Computes all proposals forStringLiteral
in Built-in language-
Methods inherited from interface com._1c.g5.v8.dt.bsl.validation.stringliterals.IAvailableStringLiteralProvider
isAppropriate, validate
-
-
-
-
Method Detail
-
computeProposals
List<org.eclipse.xtext.util.Triple<String,String,IStringLiteralProposalProvider.IBslStringLiteralProposalImageProvider>> computeProposals(StringLiteral context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, IIndexSlicePredicateService slicePredicateService, boolean isRussian)
Computes all proposals forStringLiteral
in Built-in language- Parameters:
context
-StringLiteral
in which content-assist was called, can't benull
scopeProvider
- actualIScopeProvider
for context of usingStringLiteral
, can't benull
slicePredicateService
- actualIIndexSlicePredicateService
, can't benull
isRussian
- flag of actual language. if it istrue
then script variant of actual configuration equalsScriptVariant.RUSSIAN
,false
otherwise- Returns:
- information about proposal
- content of proposal, must be start form " symbol
- name of proposal
IStringLiteralProposalProvider.IBslStringLiteralProposalImageProvider
for getting image to proposal
null
-
-