Interface QuickfixCommandMapper

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.lsp4j.CodeAction getCodeAction​(org.contextmapper.dsl.cml.CMLResource cmlResource, org.eclipse.emf.ecore.EObject selectedObject)
      Returns the code action that shall be called for a specific quickfix.
    • Method Detail

      • getCodeAction

        org.eclipse.lsp4j.CodeAction getCodeAction​(org.contextmapper.dsl.cml.CMLResource cmlResource,
                                                   org.eclipse.emf.ecore.EObject selectedObject)
        Returns the code action that shall be called for a specific quickfix.
        Parameters:
        cmlResource - the current CML resources
        selectedObject - the currently selected object
        Returns:
        the command that shall be called to invoke the quickfix