Class LibraryComparisonDataSource
java.lang.Object
com._1c.g5.v8.dt.internal.compare.datasource.DtProjectDataSource
com._1c.g5.v8.dt.internal.compare.datasource.LibraryComparisonDataSource
- All Implemented Interfaces:
IComparisonDataSource
A comparison data source that is created based on the library.
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.internal.compare.datasource.DtProjectDataSource
symbolicNameService
Fields inherited from interface com._1c.g5.v8.dt.compare.datasource.IComparisonDataSource
PROJECT_FILE, PROJECT_SOURCE_FOLDER
-
Constructor Summary
ConstructorsConstructorDescriptionLibraryComparisonDataSource
(LibraryDescriptor libraryDescriptor, IExtendedProjectSourceProvider sourceProvider, ISymbolicNameService symbolicNameService, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter, IBmModelManager bmModelManager, IWorkspaceOrchestrator workspaceOrchestrator, IVirtualProjectResourceImportService resourceImportService, IDerivedDataManagerProvider derivedDataManagerProvider, ILibraryRepository libraryRepository) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets theIDtProject
instance associated with this data source and related to the project being represented by this sourceprotected void
onStart
(org.eclipse.core.runtime.IProgressMonitor progressMonitor) Prepares the data of the source (like import, etc)Methods inherited from class com._1c.g5.v8.dt.internal.compare.datasource.DtProjectDataSource
beginTransaction, equals, fileExists, getBmModel, getCollectionSymlinks, getDistributionDescription, getFileListRecursively, getFileStream, getModelEditingSupport, getObjectById, getPath, getProjectName, getProjectNature, getSourceProvider, getSymlink, getSymlink, getSymlinksOfTopObjects, getTargetRuntimeVersion, getTopLevelObject, getTopObjectIdByFqn, getType, hashCode, isOverlayOf, onStop, prepareTopObjectInfos, setBmModel, startIfNecessary, stop, synchronize, topObjectExists, toString
-
Constructor Details
-
LibraryComparisonDataSource
public LibraryComparisonDataSource(LibraryDescriptor libraryDescriptor, IExtendedProjectSourceProvider sourceProvider, ISymbolicNameService symbolicNameService, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter, IBmModelManager bmModelManager, IWorkspaceOrchestrator workspaceOrchestrator, IVirtualProjectResourceImportService resourceImportService, IDerivedDataManagerProvider derivedDataManagerProvider, ILibraryRepository libraryRepository) Creates a new instance.- Parameters:
libraryDescriptor
- the library descriptor to create the comparison data source for, cannot benull
sourceProvider
- the source provider about file to be compared in the library, cannot benull
symbolicNameService
- the symbolic name service, cannot benull
qualifiedNameFilePathConverter
- the qualified name file path converter, cannot benull
bmModelManager
- the bm model manager, cannot benull
workspaceOrchestrator
- the workspace orchestrator, cannot benull
resourceImportService
- the resource import service, cannot benull
derivedDataManagerProvider
- the derived data manager provider, cannot benull
libraryRepository
- the library repository, cannot benull
-
-
Method Details
-
getDtProject
Description copied from interface:IComparisonDataSource
Gets theIDtProject
instance associated with this data source and related to the project being represented by this source- Specified by:
getDtProject
in interfaceIComparisonDataSource
- Overrides:
getDtProject
in classDtProjectDataSource
- Returns:
- The
IDtProject
instance. May not benull
-
onStart
protected void onStart(org.eclipse.core.runtime.IProgressMonitor progressMonitor) Description copied from class:DtProjectDataSource
Prepares the data of the source (like import, etc)- Overrides:
onStart
in classDtProjectDataSource
- Parameters:
progressMonitor
- The progress monitor to control the process. May not benull
-