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 TypeMethodDescriptionbooleanisAppropriate(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- checkingStringLiteralfor availability of validation, can't benull- Returns:
trueif validation is available for this context,falseotherwise
-
validate
List<String> validate(StringLiteral context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, IIndexSlicePredicateService slicePredicateService) ValidatesStringLiteral. Checks onlyStringLiteralin one line.- Parameters:
context- validatingStringLiteral, can't benullscopeProvider- actualIScopeProviderfor context of usingStringLiteral, can't benullslicePredicateService- actualIIndexSlicePredicateServicefor 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
StringLiteralcontent is correct for this context. Nevernull
-