Interface IXMLCommandService.IDelegateCommandHandler

    • Method Detail

      • executeCommand

        Object executeCommand​(org.eclipse.lsp4j.ExecuteCommandParams params,
                              SharedSettings sharedSettings,
                              org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
                       throws Exception
        Executes a command
        Parameters:
        params - command execution parameters
        sharedSettings - the shared settings.
        cancelChecker - check if cancel has been requested
        Returns:
        the result of the command
        Throws:
        Exception - the unhandled exception will be wrapped in org.eclipse.lsp4j.jsonrpc.ResponseErrorException and be wired back to the JSON-RPC protocol caller