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 trackedIBmObject
features are changed. The check developer may analyze the incoming changes and register the check for the proper object using the providedCheckContextCollectingSession
This collector should be registered via theICheckDefinition.addModelFeatureChangeContextCollector(com.e1c.g5.v8.dt.check.context.OnModelFeatureChangeContextCollector, 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
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 Detail
-
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
-
-