Class TemplateXmlExporter

  • All Implemented Interfaces:
    IExporter

    public class TemplateXmlExporter
    extends BasicExporter
    Class exporter for Templates to xml
    • Constructor Detail

      • TemplateXmlExporter

        public TemplateXmlExporter()
    • Method Detail

      • isAppropriate

        public boolean isAppropriate​(Version version,
                                     org.eclipse.emf.ecore.EObject eObject)
        Description copied from class: BasicExporter
        Default implementation checks whether registered extporter qualifier qualifies the provided arguments.
        Specified by:
        isAppropriate in interface IExporter
        Overrides:
        isAppropriate in class BasicExporter
        Parameters:
        version - the version of 1C:Enterprise not null
        eObject - the object for export not null
        Returns:
        true if exporter can do work to this file and version, false if not
      • work

        public org.eclipse.core.runtime.IStatus work​(org.eclipse.emf.ecore.EObject eObject,
                                                     IExportContext exportContext,
                                                     IExportArtifactBuilder artifactBuilder,
                                                     org.eclipse.core.runtime.IProgressMonitor progressMonitor)
        Description copied from interface: IExporter
        Method to build export of file in target folder.
        Parameters:
        eObject - the object for export, not null
        exportContext - the static data for export, not null
        artifactBuilder - the artifact builder, not null
        progressMonitor - ui process monitor, not null
        Returns:
        IStatus of export work result, never null