Package com._1c.g5.v8.dt.core.provider
Interface IResourceContentExporterExtensionManager
-
public interface IResourceContentExporterExtensionManager
IBmObjectExporter
extension point. This API is introduced as temporary measure for external plugins to manage data during the export phase Should be used only if no other valid options are avaialable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterExport(IBmModel model, IBmObject bmObject, IBmObject clone, org.eclipse.core.resources.IFile file, Collection<org.eclipse.core.resources.IFile> exportedExtraFiles)
This method calls all registered extensions after the export of the provided object.void
afterExport(org.eclipse.emf.ecore.EObject object, org.eclipse.core.resources.IFile file, Version runtimeVersion)
This method calls all registered extensions after the export of the provided object.void
beforeExport(IBmModel model, IBmObject bmObject, IBmObject clone, org.eclipse.core.resources.IFile file, Collection<org.eclipse.core.resources.IFile> exportedExtraFiles)
This method calls all registered extensions before the export of the provided object.void
beforeExport(org.eclipse.emf.ecore.EObject object, org.eclipse.core.resources.IFile file, Version runtimeVersion)
This method calls all registered extensions before the export of the provided object.void
registerExtension(IResourceContentExporterExtension extension)
Registers a new extension.
-
-
-
Method Detail
-
afterExport
void afterExport(org.eclipse.emf.ecore.EObject object, org.eclipse.core.resources.IFile file, Version runtimeVersion)
This method calls all registered extensions after the export of the provided object. This methods is called for non-BM stored objects/non-standard objects like Moxel, etc- Parameters:
object
- The object that is being exported. May not benull
file
- The target source file. May not benull
runtimeVersion
- The runtime version of the configuration. May not benull
-
afterExport
void afterExport(IBmModel model, IBmObject bmObject, IBmObject clone, org.eclipse.core.resources.IFile file, Collection<org.eclipse.core.resources.IFile> exportedExtraFiles)
This method calls all registered extensions after the export of the provided object. This methods is called for non-BM stored objects/non-standard objects like Moxel, etc- Parameters:
object
- The object that is being exported. May not benull
file
- The target source file. May not benull
runtimeVersion
- The runtime version of the configuration. May not benull
-
beforeExport
void beforeExport(org.eclipse.emf.ecore.EObject object, org.eclipse.core.resources.IFile file, Version runtimeVersion)
This method calls all registered extensions before the export of the provided object. The object could be modified in this method. This methods is called for non-BM stored objects/non-standard objects like Moxel, etc- Parameters:
object
- The object that is being exported. May not benull
file
- The target source file. May not benull
runtimeVersion
- The runtime version of the configuration. May not benull
-
beforeExport
void beforeExport(IBmModel model, IBmObject bmObject, IBmObject clone, org.eclipse.core.resources.IFile file, Collection<org.eclipse.core.resources.IFile> exportedExtraFiles)
This method calls all registered extensions before the export of the provided object. The clone could be modified in this method- Parameters:
model
- The sourceIBmModel
for the object being exported. May not benull
bmObject
- The sourceIBmObject
that is being exported. May not benull
clone
- The cloned object that is actually is serialized. This object may be modified by the extension. May not benull
file
- The target source file. May not benull
exportedExtraFiles
- The list of additonal files being exported as a result. The extension could add files into it. May not benull
-
registerExtension
void registerExtension(IResourceContentExporterExtension extension)
Registers a new extension. The client should call this method after the application start, preferrably - using service context management facilities- Parameters:
extension
- The extension to register. May not benull
-
-