Interface CMLQuickFix<T extends org.eclipse.emf.ecore.EObject>

  • All Known Implementing Classes:
    ExtractIDValueObjectQuickFix

    public interface CMLQuickFix<T extends org.eclipse.emf.ecore.EObject>
    Interface for all CML quickfixes (semantic changes to the corresponding CML model).
    • Method Detail

      • applyQuickfix

        void applyQuickfix​(T contextObject)
        Applies a quick fix (semantic change to the ContextMappingModel).
        Parameters:
        contextObject - the object on which the quickfix is triggered (must be part of the model)
      • applyQuickfix2EObject

        default void applyQuickfix2EObject​(org.eclipse.emf.ecore.EObject contextObject)
        Applies a quick fix (semantic change to the ContextMappingModel). IN CASE THE TYPE OF THE TRIGGER OBJECT IS NOT KNOWN!
        Parameters:
        contextObject - the object on which the quickfix is triggered (must be part of the model)
      • getName

        java.lang.String getName()
        Defines the name of the quick fix.
        Returns:
        name of the quick fix as string
      • getDescription

        java.lang.String getDescription()
        Defines the description text of the quick fix.
        Returns:
        the description text of the quick fix as string