Package com.e1c.g5.v8.dt.check.context
Interface OnModelObjectRemovalContextCollector
public interface OnModelObjectRemovalContextCollector
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(OnModelObjectRemovalContextCollector, org.eclipse.emf.ecore.EClass)
method during the ICheck.configureContextCollector(com.e1c.g5.v8.dt.check.ICheckDefinition) stage.-
Method Summary
Modifier and TypeMethodDescriptionvoidcollectContextOnObjectRemoval(org.eclipse.emf.common.util.URI removedObjectUri, org.eclipse.emf.ecore.EClass removedObjectEClass, BmSubEvent bmEvent, CheckContextCollectingSession contextSession, IBmTransaction bmTransaction) Performs the check context collecting in case of the BM object removal.
Note that, if the type of the BM object is not supported, an exception will be thrown.
-
Method Details
-
collectContextOnObjectRemoval
void collectContextOnObjectRemoval(org.eclipse.emf.common.util.URI removedObjectUri, org.eclipse.emf.ecore.EClass removedObjectEClass, BmSubEvent bmEvent, CheckContextCollectingSession contextSession, IBmTransaction bmTransaction) Performs the check context collecting in case of the BM object removal.
Note that, if the type of the BM object is not supported, an exception will be thrown.- Parameters:
removedObjectUri- The BM URI of the removed object. May not benullremovedObjectEClass- The EClass of the removed object. May not benullbmEvent- The event that has been fired by BM in response to the association. May not benullcontextSession- Session of the context collection being used to access object contexts. May not benullbmTransaction- Current BM transaction for the scope collection. May not benull
-