Interface VariantModelFixChangeDelegate<OC extends org.eclipse.emf.ecore.EObject>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface VariantModelFixChangeDelegate<OC extends org.eclipse.emf.ecore.EObject>
Functional delegate that allows to specify the matching method as a change execution logic
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyFix(OC modelObject, org.eclipse.emf.ecore.EStructuralFeature targetFeature, BasicModelFixContext context, IFixSession session) Executes the code of the quick fix variant
-
Method Details
-
applyFix
void applyFix(OC modelObject, org.eclipse.emf.ecore.EStructuralFeature targetFeature, BasicModelFixContext context, IFixSession session) Executes the code of the quick fix variant- Parameters:
modelObject- the model object, cannot benulltargetFeature- the target feaature, can benullcontext- the model fix context, cannot benullsession- the fix session, cannot benull
-