Package com.e1c.g5.v8.dt.check.context
Interface OnModelFeatureChangeContextCollector
public interface OnModelFeatureChangeContextCollector
Interface of the check context collector which is being called in case if the tracked
IBmObject features are changed.
The check developer may analyze the incoming changes and register the check for the proper object using the provided CheckContextCollectingSession
This collector should be registered via the ICheckDefinition.addModelFeatureChangeContextCollector(com.e1c.g5.v8.dt.check.context.OnModelFeatureChangeContextCollector, org.eclipse.emf.ecore.EClass) method during the ICheck.configureContextCollector(com.e1c.g5.v8.dt.check.ICheckDefinition) stage.-
Method Summary
Modifier and TypeMethodDescriptionvoidcollectContextOnFeatureChange(IBmObject bmObject, org.eclipse.emf.ecore.EStructuralFeature feature, BmSubEvent bmEvent, CheckContextCollectingSession contextSession) Collects the check context on the feature change event of the tracked object
-
Method Details
-
collectContextOnFeatureChange
void collectContextOnFeatureChange(IBmObject bmObject, org.eclipse.emf.ecore.EStructuralFeature feature, BmSubEvent bmEvent, CheckContextCollectingSession contextSession) Collects the check context on the feature change event of the tracked object- Parameters:
bmObject- The object to track. May not benullfeature- The changed feature. May not benullbmEvent- The source BM event. May be used for the detailed analysis of changes. May not benullcontextSession- The context collecting session for collecting check contexts. May not benull
-