Package com._1c.g5.v8.dt.core.provider
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.void
registerExtension(IResourceContentImporterExtension extension)
Registers client extension
-
-
-
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 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
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 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
-
registerExtension
void registerExtension(IResourceContentImporterExtension extension)
Registers client extension- Parameters:
extension
- The extension to register. May not benull
-
-