Package com.e1c.langtool.v8.dt.check
Class AbstractTranslationValidator.TranslationValidatorContext
java.lang.Object
com.e1c.langtool.v8.dt.check.AbstractTranslationValidator.TranslationValidatorContext
- Enclosing class:
- AbstractTranslationValidator
Standard context for translation validators
Contains useful data and services that are required by validators to speed up the process
Contains useful data and services that are required by validators to speed up the process
-
Constructor Summary
ConstructorsConstructorDescriptionTranslationValidatorContext(IResourceLookup resourceLookup, org.eclipse.core.resources.IProject project) Constructs a context instance -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.resources.IProjectGets the target projectGets theIResourceLookupservice link
-
Constructor Details
-
TranslationValidatorContext
public TranslationValidatorContext(IResourceLookup resourceLookup, org.eclipse.core.resources.IProject project) Constructs a context instance- Parameters:
resourceLookup- TheIResourceLookupinstance. Cannot benullproject- The target project. Cannot benull
-
-
Method Details
-
getResourceLookup
Gets theIResourceLookupservice link- Returns:
- The
IResourceLookupinstance. Cannot benull
-
getProject
public org.eclipse.core.resources.IProject getProject()Gets the target project- Returns:
- The target project. Cannot be
null
-