Interface IExportService


  • public interface IExportService
    Service to control full process of export
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.core.runtime.IStatus work​(org.eclipse.emf.ecore.EObject eObject, Path targetPath, boolean exportSubordinateObject, boolean exportExternalProperties, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
      Method to execute export work form EObject in targetFolder
    • Field Detail

      • EXPORT_SERVICE_TRACE_OPTION

        static final String EXPORT_SERVICE_TRACE_OPTION
        Trace option constant for Export service
        See Also:
        Constant Field Values
    • Method Detail

      • work

        org.eclipse.core.runtime.IStatus work​(org.eclipse.emf.ecore.EObject eObject,
                                              Path targetPath,
                                              boolean exportSubordinateObject,
                                              boolean exportExternalProperties,
                                              org.eclipse.core.runtime.IProgressMonitor progressMonitor)
        Method to execute export work form EObject in targetFolder
        Parameters:
        eObject - source EObject for export
        targetPath - path of target directory
        exportSubordinateObject - true if the subordinate objects will be exported to or false to export eObject only
        exportExternalProperties - true if the external properties will be exported to or false to export eObject only
        progressMonitor - ui process monitor
        Returns:
        IStatus of export work result