Interface IModelUpdaterConfigurationAcceptor


public interface IModelUpdaterConfigurationAcceptor
This acceptor is being supplied by the system during the IModelUpdaterController.configureContextCollector(IModelUpdaterConfigurationAcceptor) controller configuration step. Controllers should declare their properties using this acceptor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addFeatureFilter(BiFunction<IBmObject,org.eclipse.emf.ecore.EStructuralFeature,Boolean> featureFilter)
    Adds a custom feature filter.
    void
    addTargetContainmentEClass(org.eclipse.emf.ecore.EClass containmentEClass, org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EStructuralFeature... features)
    Adds a target EClass of the containment object as a target for the corresponding controller.
    void
    addTargetTopObjectEClass(org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EStructuralFeature... features)
    Adds a target EClass of the top object as a target for the corresponding controller.
  • Method Details

    • addTargetTopObjectEClass

      void addTargetTopObjectEClass(org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EStructuralFeature... features)
      Adds a target EClass of the top object as a target for the corresponding controller.
      Parameters:
      topObjectEClass - The target EClass may not be null
      features - The set of features to filter incoming change events with. May be empty. In case of empty filter the top object itself is a target
    • addTargetContainmentEClass

      void addTargetContainmentEClass(org.eclipse.emf.ecore.EClass containmentEClass, org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EStructuralFeature... features)
      Adds a target EClass of the containment object as a target for the corresponding controller.
      Parameters:
      containmentEClass - The target EClass may not be null
      topObjectEClass - The corresponding top object EClass may not be null
      features - The set of features to filter incoming change events with. May be empty. In case of empty filter the object itself is a target
    • addFeatureFilter

      void addFeatureFilter(BiFunction<IBmObject,org.eclipse.emf.ecore.EStructuralFeature,Boolean> featureFilter)
      Adds a custom feature filter. The controller is activated only if the filter gives permission for that
      Parameters:
      featureFilter - The filter to add