Class LegacyCheckLocalizationProvider
java.lang.Object
com._1c.g5.v8.dt.common.localization.ManagerBasedLocalizationProviderBase<org.eclipse.xtext.util.Pair<String,String>>
com.e1c.g5.v8.dt.internal.check.legacy.LegacyCheckLocalizationProvider
- All Implemented Interfaces:
ILocalizationProvider<org.eclipse.xtext.util.Pair<String,String>>
public class LegacyCheckLocalizationProvider
extends ManagerBasedLocalizationProviderBase<org.eclipse.xtext.util.Pair<String,String>>
Provides legacy check title and description names from legacy check localization properties files
See LegacyChecks.properties and LegacyChecks_ru.properties under com.e1c.g5.v8.dt.check/localization
The format of the identifier is as follows:
LEGACY_VALIDATOR_CLASS_NAME|{title or desc}|VALIDATION_TEST_METHOD_NAME
Example:
FormValidator|title|checkTypeDescriptionTypes
FormValidator|desc|checkTypeDescriptionTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LegacyCheckLocalizationProviderThe instance ofLegacyCheckLocalizationProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringObtains key to lookup a string representation usingLocalizationManager.Methods inherited from class com._1c.g5.v8.dt.common.localization.ManagerBasedLocalizationProviderBase
getString
-
Field Details
-
INSTANCE
The instance ofLegacyCheckLocalizationProvider
-
-
Constructor Details
-
LegacyCheckLocalizationProvider
public LegacyCheckLocalizationProvider()
-
-
Method Details
-
getKey
Description copied from class:ManagerBasedLocalizationProviderBaseObtains key to lookup a string representation usingLocalizationManager.- Specified by:
getKeyin classManagerBasedLocalizationProviderBase<org.eclipse.xtext.util.Pair<String,String>> - Parameters:
names- object to get key for.- Returns:
- key corresponding for the object or
nullif no key available.
-