Package com._1c.g5.v8.dt.md.naming
Class MdLocalizerUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.md.naming.MdLocalizerUtil
-
public class MdLocalizerUtil extends Object
Utils for translating symbolic links from English to Russian.- See Also:
MdTypesTranslationIntoRussian
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringtranslateSymbolicLinkIntoRussian(String symbolicLink, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EStructuralFeature feature)Translates the symbolic link from English to Russian.static StringtranslateTypeNameIntoRussian(String typeName, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EStructuralFeature feature)Translates the type name from English to Russian.
-
-
-
Method Detail
-
translateSymbolicLinkIntoRussian
public static String translateSymbolicLinkIntoRussian(String symbolicLink, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EStructuralFeature feature)
Translates the symbolic link from English to Russian. Translates only type names.- Parameters:
symbolicLink- the symbolic link, can not benullcontextObject- the referencing object, can not benullfeature- the referencing feature, can not benull- Returns:
- the Russian translation of the symbolic link or
nullif the translation is not found
-
translateTypeNameIntoRussian
public static String translateTypeNameIntoRussian(String typeName, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EStructuralFeature feature)
Translates the type name from English to Russian.- Parameters:
typeName- the type name, can not benullcontextObject- the referencing object, can not benullfeature- the referencing feature, can not benull- Returns:
- the Russian translation of the type name or
nullif the translation is not found
-
-