Package com._1c.g5.v8.dt.md.export.xml
Interface IXmlExporterExtensionManager
-
- All Known Implementing Classes:
XmlExporterExtensionManager
public interface IXmlExporterExtensionManager
The manager that allows clients to registerIXmlExporterExtension
's. In order for extensions to be able to participate in the process earlier it recommended to use theLifecyclePhase.LINKING
phase of the EDT orchestration facility for the registration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
copyTemplateWithLineFeedConversion(IExporter exporter, org.eclipse.emf.ecore.EObject eObject, IExportContext exportContext, IExportArtifactBuilder artifactBuilder, Path source, Path target, LineFeedConverter.ConvertOption... options)
Overrides the copying procedureboolean
overridesTemplateCopying(org.eclipse.emf.ecore.EObject eObject, IExportContext exportContext)
Checks if there are extensions that are able to override the default behavior of data copying of the template exporter.void
registerExtension(IXmlExporterExtension extension)
Registers the clientIXmlExporterExtension
-
-
-
Method Detail
-
overridesTemplateCopying
boolean overridesTemplateCopying(org.eclipse.emf.ecore.EObject eObject, IExportContext exportContext)
Checks if there are extensions that are able to override the default behavior of data copying of the template exporter. See theFlowchartXmlExporter.work(org.eclipse.emf.ecore.EObject, com._1c.g5.v8.dt.export.xml.IExportContext, com._1c.g5.v8.dt.export.IExportArtifactBuilder, org.eclipse.core.runtime.IProgressMonitor)
orTemplateXmlExporter.work(org.eclipse.emf.ecore.EObject, com._1c.g5.v8.dt.export.xml.IExportContext, com._1c.g5.v8.dt.export.IExportArtifactBuilder, org.eclipse.core.runtime.IProgressMonitor)
for more information- Parameters:
eObject
- The template EObject. May not benull
exportContext
- Current export context. May not benull
- Returns:
- True if the extension is able to override the copying procedure
-
copyTemplateWithLineFeedConversion
void copyTemplateWithLineFeedConversion(IExporter exporter, org.eclipse.emf.ecore.EObject eObject, IExportContext exportContext, IExportArtifactBuilder artifactBuilder, Path source, Path target, LineFeedConverter.ConvertOption... options)
Overrides the copying procedure- Parameters:
exporter
- The current exporter. May not benull
eObject
- The template EObject. May not benull
exportContext
- Current export context. May not benull
artifactBuilder
- The artifact builder. May not benull
source
- The path of the source file residing on the local file system. May not benull
target
- The path of the target file inside the artifact. May not benull
options
- The conversion options. May benull
or empty
-
registerExtension
void registerExtension(IXmlExporterExtension extension)
Registers the clientIXmlExporterExtension
- Parameters:
extension
- The extension to register. May not benull
-
-