Package com.e1c.langtool.v8.dt.check
Class CheckTranslationExistExtension
java.lang.Object
com.e1c.langtool.v8.dt.check.CheckTranslationExistExtension
- All Implemented Interfaces:
IBasicCheckExtension
The extension must be added to each validator which checks existent of the translation
by the
EStructuralFeature for only model features that may be auto-computed.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCheckTranslationExistExtension(IResourceLookup resourceLookup, ITranslatingProjectManager projectManager, IStorageSettingsManager storageSettingsManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureContextCollector(ICheckDefinition definition) This method allows to add settings to theICheckDefinitionduring the check configuration cycleContributes the top object model filter if necessaryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.e1c.g5.v8.dt.check.components.IBasicCheckExtension
preCheck
-
Field Details
-
CHECK_COMPUTED_STRING_TRANSLATION_PARAMETER_NAME
- See Also:
-
-
Constructor Details
-
CheckTranslationExistExtension
@Inject public CheckTranslationExistExtension(IResourceLookup resourceLookup, ITranslatingProjectManager projectManager, IStorageSettingsManager storageSettingsManager)
-
-
Method Details
-
configureContextCollector
Description copied from interface:IBasicCheckExtensionThis method allows to add settings to theICheckDefinitionduring the check configuration cycle- Specified by:
configureContextCollectorin interfaceIBasicCheckExtension- Parameters:
definition- The check definition. May not benull
-
contributeTopObjectFilter
Description copied from interface:IBasicCheckExtensionContributes the top object model filter if necessary- Specified by:
contributeTopObjectFilterin interfaceIBasicCheckExtension- Returns:
- The filter to contribute. May be left
nullin case if the filter isn't necessary
-