Interface IResourceContentImporterExtension


public interface IResourceContentImporterExtension
The extension of the BM import process. All registered extensions are being called for any import activity, so its up to the implementing class to react for necessary contexts only. Should be registered via IResourceContentImporterExtensionManager.registerExtension(IResourceContentImporterExtension) in order to be called
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    afterImport(IBmObject importedObject, IBmEngine engine, org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.core.runtime.IPath path)
    This method is called after the import of BM-controlled object, The imported object is attached to the transaction and may be changed
    default void
    beforeImport(IBmEngine engine, org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.core.runtime.IPath path)
    This method is called before the real import of the BM object or loading of non-BM controlled object
  • Method Details

    • afterImport

      default void afterImport(IBmObject importedObject, IBmEngine engine, org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.core.runtime.IPath path)
      This method is called after the import of BM-controlled object, The imported object is attached to the transaction and may be changed
      Parameters:
      importedObject - The imported object. Attached to the corresponding IBmTransaction. May not be null
      engine - The target IBmEngine. May not be null
      resource - The original loaded resource. May not be null
      path - The original source file path. May not be null
    • beforeImport

      default void beforeImport(IBmEngine engine, org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.core.runtime.IPath path)
      This method is called before the real import of the BM object or loading of non-BM controlled object
      Parameters:
      engine - The target IBmEngine. May not be null
      resource - The original loaded resource. May not be null
      path - The original source file path. May not be null