Interface OnModelObjectAssociationContextCollector


public interface OnModelObjectAssociationContextCollector
Collects check contexts in case if a new object was added to the model (manually or via the import operation) This collector should be registered via the ICheckDefinition.addModelAssociationContextCollector(OnModelObjectAssociationContextCollector, org.eclipse.emf.ecore.EClass) method during the ICheck.configureContextCollector(com.e1c.g5.v8.dt.check.ICheckDefinition) stage.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Performs the check context collecting in case of the BM object association (new object creation or import).
    Note that, if the type of the BM object is not supported, an exception will be thrown.
  • Method Details

    • collectContextOnObjectAssociation

      void collectContextOnObjectAssociation(IBmObject bmObject, BmSubEvent bmEvent, CheckContextCollectingSession contextSession)
      Performs the check context collecting in case of the BM object association (new object creation or import).
      Note that, if the type of the BM object is not supported, an exception will be thrown.
      Parameters:
      bmObject - The BM object that has been associated. May not be null
      bmEvent - The event that has been fired by BM in response to the association. May not be null
      contextSession - Session of the context collection being used to access object contexts. May not be null