Class ExecutableCommandRegistry


  • public class ExecutableCommandRegistry
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object executeCommand​(org.eclipse.lsp4j.ExecuteCommandParams params, ILanguageServerAccess access, org.eclipse.xtext.util.CancelIndicator cancelIndicator)  
      java.util.List<java.lang.String> getCommands()  
      void initialize​(java.lang.Iterable<? extends org.eclipse.xtext.resource.IResourceServiceProvider> allLanguages, org.eclipse.lsp4j.ClientCapabilities capabilities, org.eclipse.lsp4j.services.LanguageClient client)  
      protected org.eclipse.xtext.util.IDisposable register​(java.lang.String command, IExecutableCommandService service)  
      • Methods inherited from class java.lang.Object

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

      • ExecutableCommandRegistry

        public ExecutableCommandRegistry()
    • Method Detail

      • initialize

        public void initialize​(java.lang.Iterable<? extends org.eclipse.xtext.resource.IResourceServiceProvider> allLanguages,
                               org.eclipse.lsp4j.ClientCapabilities capabilities,
                               org.eclipse.lsp4j.services.LanguageClient client)
      • register

        protected org.eclipse.xtext.util.IDisposable register​(java.lang.String command,
                                                              IExecutableCommandService service)
      • executeCommand

        public java.lang.Object executeCommand​(org.eclipse.lsp4j.ExecuteCommandParams params,
                                               ILanguageServerAccess access,
                                               org.eclipse.xtext.util.CancelIndicator cancelIndicator)
      • getCommands

        public java.util.List<java.lang.String> getCommands()