Interface IResourceContentImporterExtensionManager


  • public interface IResourceContentImporterExtensionManager
    IResourceContentImporter extension point. This API is introduced as temporary measure for external plugins to manage data during the import phase Should be used only if no other valid options are avaialable
    • Method Detail

      • afterImport

        void afterImport​(IBmObject importedObject,
                         IBmEngine engine,
                         IBmTransaction transaction,
                         org.eclipse.emf.ecore.resource.Resource resource,
                         org.eclipse.core.runtime.IPath path)
        Delegates the after import processing for BM processed data to target extensions. This method shouldn't be called directly by the client code
        Parameters:
        importedObject - The imported object. Attached to the corresponding IBmTransaction. May not be null
        engine - The target IBmEngine. May not be null
        transaction - The current transaction the import is performed in. May not be null
        resource - The original loaded resource. May not be null
        path - The original source file path. May not be null
      • beforeImport

        void beforeImport​(IBmEngine engine,
                          IBmTransaction transaction,
                          org.eclipse.emf.ecore.resource.Resource resource,
                          org.eclipse.core.runtime.IPath path)
        Delegates the before import processing for BM processed data to target extensions. This method shouldn't be called directly by the client code
        Parameters:
        engine - The target IBmEngine. May not be null
        transaction - The current transaction the import is performed in. May not be null
        resource - The original loaded resource. May not be null
        path - The original source file path. May not be null
      • registerExtension

        void registerExtension​(IResourceContentImporterExtension extension)
        Registers client extension
        Parameters:
        extension - The extension to register. May not be null