Interface IAvailableStringLiteralProvider
- 
- All Known Subinterfaces:
- IAvailableStringLiteralProviderExtension,- IAvailableStringLiteralProviderImportedNamesExtension,- IStringLiteralProposalProvider,- IStringLiteralProposalProviderExtension
 - All Known Implementing Classes:
- AbstractStringLiteralProposalProvider,- GraphicalSchemeStringLiteralProposalProvider,- StringLiteralProposalProviderSetParameterValue,- StringLiteralProposalProviderValueToFormAttr
 
 public interface IAvailableStringLiteralProviderSpecial interface for validating of using ofStringLiteralin Built-in language
 Methods of this interface process all cases of usingStringLiteral
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAppropriate(StringLiteral context)Checks context for availability of validationList<String>validate(StringLiteral context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, IIndexSlicePredicateService slicePredicateService)ValidatesStringLiteral.
 
- 
- 
- 
Method Detail- 
isAppropriateboolean isAppropriate(StringLiteral context) Checks context for availability of validation- Parameters:
- context- checking- StringLiteralfor availability of validation, can't be- null
- Returns:
- trueif validation is available for this context,- falseotherwise
 
 - 
validateList<String> validate(StringLiteral context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, IIndexSlicePredicateService slicePredicateService) ValidatesStringLiteral. Checks onlyStringLiteralin one line.- Parameters:
- context- validating- StringLiteral, can't be- null
- scopeProvider- actual- IScopeProviderfor context of using- StringLiteral, can't be- null
- slicePredicateService- actual- IIndexSlicePredicateServicefor 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 StringLiteralcontent is correct for this context. Nevernull
 
 
- 
 
-