Class TopObjectsGetter
- java.lang.Object
- 
- com._1c.g5.v8.dt.compare.datasource.TopObjectsGetter
 
- 
 public final class TopObjectsGetter extends Object A utility class providing methods for obtaining top objects fromIComparisonDataSource.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<org.eclipse.emf.ecore.EClass,List<String>>getSymlinksOfTopObjectsForConfigurationProject(IComparisonDataSource dataSource, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, List<org.eclipse.emf.ecore.EClass> eClasses)Gets all top level object symlinks of the specified data source for a configuration project.static List<TopObjectInfo>getTopObjectsInfo(IComparisonDataSource dataSource, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, List<org.eclipse.emf.ecore.EClass> eClasses)Gets a list ofTopObjectInfoinstances for top objects of the specifiedEClass'es in the specified data source.
 
- 
- 
- 
Method Detail- 
getTopObjectsInfopublic static List<TopObjectInfo> getTopObjectsInfo(IComparisonDataSource dataSource, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, List<org.eclipse.emf.ecore.EClass> eClasses) Gets a list ofTopObjectInfoinstances for top objects of the specifiedEClass'es in the specified data source. If the data source is associated with Configuration-aware project, the order of the returned instances is the same as in the corresponding collection of the Configuration.- Parameters:
- dataSource- the data source to get top object information for, cannot be- null
- scopeProvider- the scope provider for symbolic links, cannot be- null
- eClasses- the list of- EClass'es of the top objects; if- nullor empty, all top objects are returned, regardless of their- EClass'es
- Returns:
- the list of TopObjectInfoinstances, nevernull
 
 - 
getSymlinksOfTopObjectsForConfigurationProjectpublic static Map<org.eclipse.emf.ecore.EClass,List<String>> getSymlinksOfTopObjectsForConfigurationProject(IComparisonDataSource dataSource, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, List<org.eclipse.emf.ecore.EClass> eClasses) Gets all top level object symlinks of the specified data source for a configuration project. The order of the returned symlinks is the same as in the corresponding collection of the Configuration object.- Parameters:
- dataSource- the data source to get top object symlinks for, cannot be- null
- scopeProvider- the scope provider for symbolic links, cannot be- null
- eClasses- the list of- EClass'es of the top objects; if- nullor empty, all top objects are returned, regardless of their- EClass'es
- Returns:
- all top level object symlinks, never null
 
 
- 
 
-