Interface ModelQuickFixRegistry

  • All Known Implementing Classes:
    ModelQuickFixRegistryImpl

    public interface ModelQuickFixRegistry
    Registry for model quick fixes.
    Author:
    Alexandra Buzila
    • Method Detail

      • registerModelQuickFix

        void registerModelQuickFix​(ModelQuickFix modelQuickFix)
        Register a ModelQuickFix implementation.
        Parameters:
        modelQuickFix - - the implementation to register
      • getApplicableModelQuickFixes

        java.util.List<ModelQuickFix> getApplicableModelQuickFixes​(org.eclipse.emf.common.util.Diagnostic diagnostic)
        Parameters:
        diagnostic - - the diagnostic
        Returns:
        a list of ModelQuickFix objects, applicable for the given diagnostic. The list is ordered by the priority of the quick fixes, in descending order.
      • getAllModelQuickFixes

        java.util.List<ModelQuickFix> getAllModelQuickFixes()
        Returns:
        all the quick fixes contained in the registry.