Interface IAvailableStringLiteralProvider
- All Known Subinterfaces:
IAvailableStringLiteralProviderExtension
,IAvailableStringLiteralProviderImportedNamesExtension
,IStringLiteralProposalProvider
,IStringLiteralProposalProviderExtension
- All Known Implementing Classes:
AbstractStringLiteralProposalProvider
,GraphicalSchemeStringLiteralProposalProvider
,LiteralProposalProviderAttachIdleHandler
,LiteralProposalProviderGlobalAttachHandlers
,LiteralProposalProviderSetAction
,StringLiteralProposalFormFunctionalOption
,StringLiteralProposalMdObject
,StringLiteralProposalNStrMethod
,StringLiteralProposalProviderActionCtor
,StringLiteralProposalProviderBackgroundJobsManager
,StringLiteralProposalProviderCommonForm
,StringLiteralProposalProviderCommonTemplate
,StringLiteralProposalProviderCreateWsProxy
,StringLiteralProposalProviderDataLockAdd
,StringLiteralProposalProviderDataLockItemSetValue
,StringLiteralProposalProviderFindByAttribute
,StringLiteralProposalProviderFuncCtor
,StringLiteralProposalProviderFunctionalOption
,StringLiteralProposalProviderGetOrOpenForm
,StringLiteralProposalProviderIndexAccess
,StringLiteralProposalProviderMdObjectForm
,StringLiteralProposalProviderMdObjectTemplate
,StringLiteralProposalProviderMethodFindForArrayInFillCheckProcessing
,StringLiteralProposalProviderMethodType
,StringLiteralProposalProviderOperatorCtor
,StringLiteralProposalProviderPredefinedValue
,StringLiteralProposalProviderRights
,StringLiteralProposalProviderSetParameterValue
,StringLiteralProposalProviderSort
,StringLiteralProposalProviderTotal
,StringLiteralProposalProviderTypeDescription
,StringLiteralProposalProviderUuid
,StringLiteralProposalProviderValueToFormAttr
,StringLiteralProposalProviderWebSocketClientConnectionHandlers
,StringLiteralProposalProviderXdtoFactory
,StringLiteralProposalProviderXdtoFactoryPackage
,StringLiteralProposalProviderXdtoFactoryWriteXmlPackage
public interface IAvailableStringLiteralProvider
Special interface for validating of using of
Methods of this interface process all cases of using
StringLiteral
in Built-in language Methods of this interface process all cases of using
StringLiteral
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isAppropriate
(StringLiteral context) Checks context for availability of validationvalidate
(StringLiteral context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, IIndexSlicePredicateService slicePredicateService) ValidatesStringLiteral
.
-
Method Details
-
isAppropriate
Checks context for availability of validation- Parameters:
context
- checkingStringLiteral
for availability of validation, can't benull
- Returns:
true
if validation is available for this context,false
otherwise
-
validate
List<String> validate(StringLiteral context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, IIndexSlicePredicateService slicePredicateService) ValidatesStringLiteral
. Checks onlyStringLiteral
in one line.- Parameters:
context
- validatingStringLiteral
, can't benull
scopeProvider
- actualIScopeProvider
for context of usingStringLiteral
, can't benull
slicePredicateService
- actualIIndexSlicePredicateService
for context of usingStringLiteral
, can't benull
- Returns:
- list of validation issue messages. This messages will be wrapped to the validation diagnostics, or empty list if
StringLiteral
content is correct for this context. Nevernull
-