Interface IActiveComparisonDataSource
- All Superinterfaces:
IComparisonDataSource
- All Known Implementing Classes:
ActiveDtProjectDataSource
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.IComparisonDataSource
PROJECT_FILE, PROJECT_SOURCE_FOLDER
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add data source listener.org.eclipse.core.resources.IProject
Gets the associated project.Returns the associated V8 project.org.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.Methods inherited from interface com._1c.g5.v8.dt.compare.datasource.IComparisonDataSource
beginTransaction, 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 Details
-
getV8Project
IV8Project getV8Project()Returns the associated V8 project.- Returns:
- the associated V8 project, never
null
-
getProject
org.eclipse.core.resources.IProject getProject()Gets the associated project.- Returns:
- the associated project, never be
null
-
translateSymlinkToURI
org.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 benull
symlink
- the source symbolic link, can not benull
contextObject
- the context object, can not benull
reference
- the reference, can not benull
topObjectSymlink
- the symbolic link of the top object containing theEObject
, can not benull
eClass
- the class of referenced object, can not benull
- Returns:
- a URI or
null
-
addDataSourceUpdateListener
Add data source listener.- Parameters:
listener
- The listener to add.
-