Class SpreadsheetDocumentExporter
java.lang.Object
com._1c.g5.v8.dt.core.provider.BaseBmObjectExporter
com._1c.g5.v8.dt.internal.moxel.resource.SpreadsheetDocumentExporter
- All Implemented Interfaces:
IBmObjectExporter
Exports BM Moxel model to internal XML storage format.
-
Constructor Summary
ConstructorsConstructorDescriptionSpreadsheetDocumentExporter
(IBmModelManager modelManager, ISymbolicNameService symbolicNameService, org.eclipse.xtext.naming.IQualifiedNameConverter qualifiedNameConverter, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter, org.eclipse.emf.ecore.resource.Resource.Factory resourceFactory, IResourceContentExporterExtensionManager resourceContentExporterExtensionManager) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected IBmObject
cloneObject
(IBmObject object) Clones object to be exported.boolean
supports
(org.eclipse.emf.ecore.EClass eClass) Checks if the exporter supports objects of the specifiedEMF class
.Methods inherited from class com._1c.g5.v8.dt.core.provider.BaseBmObjectExporter
deleteFile, getFormatter, saveFile, waitDerivedDataComputation
-
Constructor Details
-
SpreadsheetDocumentExporter
@Inject public SpreadsheetDocumentExporter(IBmModelManager modelManager, ISymbolicNameService symbolicNameService, org.eclipse.xtext.naming.IQualifiedNameConverter qualifiedNameConverter, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter, org.eclipse.emf.ecore.resource.Resource.Factory resourceFactory, 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
.resourceContentExporterExtensionManager
- the exporter extension manager to use, may not benull
.
-
-
Method Details
-
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.
-
cloneObject
Description copied from class:BaseBmObjectExporter
Clones object to be exported. The given object isn't attached to the transaction.- Overrides:
cloneObject
in classBaseBmObjectExporter
- Returns:
- clone
-