Interface IActiveComparisonDataSource
- 
- All Superinterfaces:
- IComparisonDataSource
 
 public interface IActiveComparisonDataSource extends IComparisonDataSource The data source of a side of a comparison process represented by a V8 project being opened in the workspace.
- 
- 
Field Summary- 
Fields inherited from interface com._1c.g5.v8.dt.compare.datasource.IComparisonDataSourcePROJECT_FILE, PROJECT_SOURCE_FOLDER
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDataSourceUpdateListener(IComparisonDataSourceUpdateListener listener)Add data source listener.org.eclipse.core.resources.IProjectgetProject()Gets the associated project.IV8ProjectgetV8Project()Returns the associated V8 project.org.eclipse.emf.common.util.URItranslateSymlinkToURI(String symlink, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference reference, String topObjectSymlink, org.eclipse.emf.ecore.EClass eClass)Returns a URI of the object represented by the specified symbolic link within the specified context object and reference.- 
Methods inherited from interface com._1c.g5.v8.dt.compare.datasource.IComparisonDataSourcebeginTransaction, fileExists, getBmModel, getCollectionSymlinks, getDistributionDescription, getDtProject, getFileListRecursively, getFileStream, getModelEditingSupport, getObjectById, getPath, getProjectName, getProjectNature, getSymlink, getSymlink, getSymlinksOfTopObjects, getTargetRuntimeVersion, getTopLevelObject, getTopObjectIdByFqn, getType, isOverlayOf, prepareTopObjectInfos, startIfNecessary, stop, synchronize, topObjectExists
 
- 
 
- 
- 
- 
Method Detail- 
getV8ProjectIV8Project getV8Project() Returns the associated V8 project.- Returns:
- the associated V8 project, never null
 
 - 
getProjectorg.eclipse.core.resources.IProject getProject() Gets the associated project.- Returns:
- the associated project, never be null
 
 - 
translateSymlinkToURIorg.eclipse.emf.common.util.URI translateSymlinkToURI(String symlink, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference reference, String topObjectSymlink, org.eclipse.emf.ecore.EClass eClass) Returns a URI of the object represented by the specified symbolic link within the specified context object and reference.- Parameters:
- bmEngine- the BM engine responsible for translation, can not be- null
- symlink- the source symbolic link, can not be- null
- contextObject- the context object, can not be- null
- reference- the reference, can not be- null
- topObjectSymlink- the symbolic link of the top object containing the- EObject, can not be- null
- eClass- the class of referenced object, can not be- null
- Returns:
- a URI or null
 
 - 
addDataSourceUpdateListenervoid addDataSourceUpdateListener(IComparisonDataSourceUpdateListener listener) Add data source listener.- Parameters:
- listener- The listener to add.
 
 
- 
 
-