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 TypeMethodDescriptionvoid
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
-
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 benull
feature
- The changed feature. May not benull
bmEvent
- The source BM event. May be used for the detailed analysis of changes. May not benull
contextSession
- The context collecting session for collecting check contexts. May not benull
-