Package com.e1c.g5.v8.dt.model.updater
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 TypeMethodDescriptionvoidaddFeatureFilter(BiFunction<IBmObject, org.eclipse.emf.ecore.EStructuralFeature, Boolean> featureFilter) Adds a custom feature filter.voidaddTargetContainmentEClass(org.eclipse.emf.ecore.EClass containmentEClass, org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EStructuralFeature... features) Adds a targetEClassof the containment object as a target for the corresponding controller.voidaddTargetTopObjectEClass(org.eclipse.emf.ecore.EClass topObjectEClass, org.eclipse.emf.ecore.EStructuralFeature... features) Adds a targetEClassof 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 targetEClassof the top object as a target for the corresponding controller.- Parameters:
topObjectEClass- The targetEClassmay not benullfeatures- 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 targetEClassof the containment object as a target for the corresponding controller.- Parameters:
containmentEClass- The targetEClassmay not benulltopObjectEClass- The corresponding top objectEClassmay not benullfeatures- 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
-