Class MdRepresentationUtils
- java.lang.Object
-
- com._1c.g5.v8.dt.md.compare.ui.utils.MdRepresentationUtils
-
public class MdRepresentationUtils extends Object
Utility methods for obtaining representation of MD object properties and their inner elements.
-
-
Constructor Summary
Constructors Constructor Description MdRepresentationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
addInfo(String source, String addInfo)
static String
getLocalizedEnumerator(org.eclipse.emf.ecore.EEnum eEnum, org.eclipse.emf.common.util.Enumerator enumerator)
static String
getTypeItemAddInfo(TypeDescription typeDescription, String name)
static String
typeItemToString(IComparisonDataSource dataSource, TypeDescription typeDescription, TypeItem typeItem, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, ISymbolicLinkLocalizer symbolicLinkLocalizer, boolean withAddInfo)
Returns the string representation of the specified type item.
-
-
-
Method Detail
-
typeItemToString
public static String typeItemToString(IComparisonDataSource dataSource, TypeDescription typeDescription, TypeItem typeItem, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, ISymbolicLinkLocalizer symbolicLinkLocalizer, boolean withAddInfo)
Returns the string representation of the specified type item.- Parameters:
dataSource
- the comparison data source the specified type item related to, cannot benull
typeDescription
- the type item host type description, cannot benull
typeItem
- the type item to get representation for, cannot benull
scopeProvider
- the scope provider, cannot benull
symbolicLinkLocalizer
- the symbolic link localizer, cannot benull
withAddInfo
- tell whether add info from qualifiers to the specified type item represenation- Returns:
- the string representation, never
null
-
getTypeItemAddInfo
public static String getTypeItemAddInfo(TypeDescription typeDescription, String name)
-
getLocalizedEnumerator
public static String getLocalizedEnumerator(org.eclipse.emf.ecore.EEnum eEnum, org.eclipse.emf.common.util.Enumerator enumerator)
-
-