Class AbstractQuickFixCommand

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void executeCommand​(org.contextmapper.dsl.cml.CMLResource cmlResource, org.eclipse.xtext.ide.server.Document document, org.eclipse.xtext.ide.server.ILanguageServerAccess access, org.eclipse.lsp4j.ExecuteCommandParams params)  
      protected abstract org.contextmapper.dsl.quickfixes.CMLQuickFix<? extends org.eclipse.emf.ecore.EObject> getQuickfix​(org.eclipse.lsp4j.ExecuteCommandParams params)
      Override this method to define the quickfix that shall be called.
      protected abstract org.eclipse.emf.ecore.EObject getSubject​(org.contextmapper.dsl.cml.CMLResource cmlResource, org.eclipse.lsp4j.ExecuteCommandParams params)
      Override this method to resolve the subject on which the quickfix shall be applied.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getQuickfix

        protected abstract org.contextmapper.dsl.quickfixes.CMLQuickFix<? extends org.eclipse.emf.ecore.EObject> getQuickfix​(org.eclipse.lsp4j.ExecuteCommandParams params)
        Override this method to define the quickfix that shall be called.
      • getSubject

        protected abstract org.eclipse.emf.ecore.EObject getSubject​(org.contextmapper.dsl.cml.CMLResource cmlResource,
                                                                    org.eclipse.lsp4j.ExecuteCommandParams params)
        Override this method to resolve the subject on which the quickfix shall be applied.
      • executeCommand

        public void executeCommand​(org.contextmapper.dsl.cml.CMLResource cmlResource,
                                   org.eclipse.xtext.ide.server.Document document,
                                   org.eclipse.xtext.ide.server.ILanguageServerAccess access,
                                   org.eclipse.lsp4j.ExecuteCommandParams params)
        Specified by:
        executeCommand in interface CMLResourceCommand