Package com.e1c.g5.v8.dt.check.context
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 theICheckDefinition.addModelAssociationContextCollector(OnModelObjectAssociationContextCollector, org.eclipse.emf.ecore.EClass)
method during theICheck.configureContextCollector(com.e1c.g5.v8.dt.check.ICheckDefinition)
stage.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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 benull
bmEvent
- The event that has been fired by BM in response to the association. May not benull
contextSession
- Session of the context collection being used to access object contexts. May not benull
-
-