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 StringLiteral in Built-in language
Methods of this interface process all cases of using StringLiteral
  • Method Details

    • isAppropriate

      boolean isAppropriate(StringLiteral context)
      Checks context for availability of validation
      Parameters:
      context - checking StringLiteral for availability of validation, can't be null
      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)
      Validates StringLiteral. Checks only StringLiteral in one line.
      Parameters:
      context - validating StringLiteral, can't be null
      scopeProvider - actual IScopeProvider for context of using StringLiteral, can't be null
      slicePredicateService - actual IIndexSlicePredicateService for context of using StringLiteral, can't be null
      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. Never null