Package com._1c.g5.v8.dt.core.provider
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 viaIResourceContentImporterExtensionManager.registerExtension(IResourceContentImporterExtension)
in order to be called
-
-
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 changeddefault 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 correspondingIBmTransaction
. May not benull
engine
- The targetIBmEngine
. May not benull
transaction
- The current transaction the import is performed in. May not benull
resource
- The original loaded resource. May not benull
path
- The original source file path. May not benull
-
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 targetIBmEngine
. May not benull
transaction
- The current transaction the import is performed in. May not benull
resource
- The original loaded resource. May not benull
path
- The original source file path. May not benull
-
-