Package com._1c.g5.v8.dt.cmi.resource
Class CmiExporter
- java.lang.Object
-
- com._1c.g5.v8.dt.core.provider.BaseBmObjectExporter
-
- com._1c.g5.v8.dt.cmi.resource.CmiExporter
-
- All Implemented Interfaces:
IBmObjectExporter
public final class CmiExporter extends BaseBmObjectExporter
Exports BM CMI model to internal XML storage format.
-
-
Constructor Summary
Constructors Constructor Description CmiExporter(IBmModelManager modelManager, ISymbolicNameService symbolicNameService, org.eclipse.xtext.naming.IQualifiedNameConverter qualifiedNameConverter, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter, org.eclipse.emf.ecore.resource.Resource.Factory resourceFactory, IDerivedDataManagerProvider derivedDataManagerProvider, IResourceContentExporterExtensionManager resourceContentExporterExtensionManager)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supports(org.eclipse.emf.ecore.EClass eClass)
Checks if the exporter supports objects of the specifiedEMF class
.protected void
waitDerivedDataComputation(IDtProject project)
Waits DS calculation before save.-
Methods inherited from class com._1c.g5.v8.dt.core.provider.BaseBmObjectExporter
cloneObject, deleteFile, getFormatter, saveFile
-
-
-
-
Constructor Detail
-
CmiExporter
@Inject public CmiExporter(IBmModelManager modelManager, ISymbolicNameService symbolicNameService, org.eclipse.xtext.naming.IQualifiedNameConverter qualifiedNameConverter, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter, org.eclipse.emf.ecore.resource.Resource.Factory resourceFactory, IDerivedDataManagerProvider derivedDataManagerProvider, IResourceContentExporterExtensionManager resourceContentExporterExtensionManager)
Constructs a new instance.- Parameters:
modelManager
- the model manager, may not benull
.symbolicNameService
- the symbolic name service to use, may not benull
.qualifiedNameConverter
- the qualified name converter, may not benull
.qualifiedNameFilePathConverter
- the qualified-name-to-file-path converter, may not benull
.resourceFactory
- the resource factory to use, may not benull
.derivedDataManagerProvider
- the derived data manager provider to use, may not benull
.resourceContentExporterExtensionManager
- the exporter extension manager to use, may not benull
.
-
-
Method Detail
-
supports
public boolean supports(org.eclipse.emf.ecore.EClass eClass)
Description copied from interface:IBmObjectExporter
Checks if the exporter supports objects of the specifiedEMF class
.- Parameters:
eClass
- TheEMF class
to check. May not benull
.- Returns:
true
if the exporter supports theEMF class
,false
otherwise.
-
waitDerivedDataComputation
protected void waitDerivedDataComputation(IDtProject project)
Description copied from class:BaseBmObjectExporter
Waits DS calculation before save. Implementing class should define the logic of waiting by itself.- Overrides:
waitDerivedDataComputation
in classBaseBmObjectExporter
-
-