Class XdtoExporter

  • All Implemented Interfaces:
    IExporter

    public class XdtoExporter
    extends BasicExporter
    Exporter for XDTO package
    • Constructor Detail

      • XdtoExporter

        public XdtoExporter()
    • 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,
                                                     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
        progressMonitor - ui process monitor, not null
        Returns:
        IStatus of export work result, never null