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