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
symbolicNameServiceFields 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 theIDtProjectinstance associated with this data source and related to the project being represented by this sourceprotected voidonStart(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 benullsourceProvider- the source provider about file to be compared in the library, cannot benullsymbolicNameService- the symbolic name service, cannot benullqualifiedNameFilePathConverter- the qualified name file path converter, cannot benullbmModelManager- the bm model manager, cannot benullworkspaceOrchestrator- the workspace orchestrator, cannot benullresourceImportService- the resource import service, cannot benullderivedDataManagerProvider- the derived data manager provider, cannot benulllibraryRepository- the library repository, cannot benull
-
-
Method Details
-
getDtProject
Description copied from interface:IComparisonDataSourceGets theIDtProjectinstance associated with this data source and related to the project being represented by this source- Specified by:
getDtProjectin interfaceIComparisonDataSource- Overrides:
getDtProjectin classDtProjectDataSource- Returns:
- The
IDtProjectinstance. May not benull
-
onStart
protected void onStart(org.eclipse.core.runtime.IProgressMonitor progressMonitor) Description copied from class:DtProjectDataSourcePrepares the data of the source (like import, etc)- Overrides:
onStartin classDtProjectDataSource- Parameters:
progressMonitor- The progress monitor to control the process. May not benull
-