Interface IResourceContentImporterExtension

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void afterImport​(IBmObject importedObject, IBmEngine engine, IBmTransaction transaction, 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, IBmTransaction transaction, 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 Detail

      • afterImport

        default void afterImport​(IBmObject importedObject,
                                 IBmEngine engine,
                                 IBmTransaction transaction,
                                 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
        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

        default void beforeImport​(IBmEngine engine,
                                  IBmTransaction transaction,
                                  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
        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