Class ExtractSuggestedServiceCommand

    • Method Summary

      All Methods Instance 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 org.contextmapper.dsl.refactoring.SemanticCMLRefactoring getRefactoring​(org.eclipse.lsp4j.ExecuteCommandParams params)
      Override this method to define the refactoring that shall be called.
      • Methods inherited from class java.lang.Object

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

      • ExtractSuggestedServiceCommand

        public ExtractSuggestedServiceCommand​(WorkspaceEditRecorder editRecorder)
    • Method Detail

      • 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
        Overrides:
        executeCommand in class AbstractRefactoringCommand
      • getRefactoring

        protected org.contextmapper.dsl.refactoring.SemanticCMLRefactoring getRefactoring​(org.eclipse.lsp4j.ExecuteCommandParams params)
        Description copied from class: AbstractRefactoringCommand
        Override this method to define the refactoring that shall be called.
        Specified by:
        getRefactoring in class AbstractRefactoringCommand