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 Detail

      • 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 be null
        targetFeature - the target feaature, can be null
        context - the model fix context, cannot be null
        session - the fix session, cannot be null