Package com._1c.g5.v8.dt.core.provider
Interface IResourceContentExporterExtension
-
public interface IResourceContentExporterExtension
Resource content exporter extension. Allows to extend the logic of BM objects export.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
afterExport(IDtProject dtProject, IBmObject bmObject, IBmObject clone, org.eclipse.core.resources.IFile file, Map<org.eclipse.core.resources.IFile,byte[]> extraFiles)
The method is called right after the export of the provided object.default void
afterExport(org.eclipse.emf.ecore.EObject object, org.eclipse.core.resources.IFile file, Version runtimeVersion)
The method is called right after the export of the provided object.default void
beforeExport(IDtProject dtProject, IBmObject bmObject, IBmObject clone, org.eclipse.core.resources.IFile file, Map<org.eclipse.core.resources.IFile,byte[]> extraFiles)
The method is called before the export of the provided object.default void
beforeExport(org.eclipse.emf.ecore.EObject object, org.eclipse.core.resources.IFile file, Version runtimeVersion)
The method is called before the export of the provided object.
-
-
-
Method Detail
-
afterExport
default void afterExport(org.eclipse.emf.ecore.EObject object, org.eclipse.core.resources.IFile file, Version runtimeVersion)
The method is called right after the export of the provided object. This method is called for non-BM stored objects/non-standard objects like spreadsheet document, etc.- Parameters:
object
- The exported object. May not benull
.file
- The target workspace file. May not benull
.runtimeVersion
- The runtime version of the configuration. May not benull
.
-
afterExport
default void afterExport(IDtProject dtProject, IBmObject bmObject, IBmObject clone, org.eclipse.core.resources.IFile file, Map<org.eclipse.core.resources.IFile,byte[]> extraFiles)
The method is called right after the export of the provided object.- Parameters:
dtProject
- The project the exported object belongs to. May not benull
.bmObject
- The exported object. May not benull
.clone
- The cloned object that is actually serialized. The method implementations are allowed to modify the clone. May not benull
.file
- The target workspace file. May not benull
extraFiles
- The map to put the information about the extra files saved by the extesion where keys are the files and values are their signatures. May not benull
.
-
beforeExport
default void beforeExport(org.eclipse.emf.ecore.EObject object, org.eclipse.core.resources.IFile file, Version runtimeVersion)
The method is called before the export of the provided object. The object could be modified in this method. This method is called for non-BM stored objects/non-standard objects like spreadsheet document, etc.- Parameters:
object
- The exported object. May not benull
file
- The target workspace file. May not benull
runtimeVersion
- The runtime version of the configuration. May not benull
-
beforeExport
default void beforeExport(IDtProject dtProject, IBmObject bmObject, IBmObject clone, org.eclipse.core.resources.IFile file, Map<org.eclipse.core.resources.IFile,byte[]> extraFiles)
The method is called before the export of the provided object.- Parameters:
bmObject
- The exported. May not benull
.clone
- The cloned object that is actually serialized. The method implementations are allowed to modify the clone. May not benull
.file
- The target workspace file. May not benull
.extraFiles
- The map to put the information about the extra files saved by the extesion where keys are the files and values are their signatures. May not benull
.
-
-