@FunctionalInterface public static interface IXMLCommandService.IDelegateCommandHandler
Modifier and Type | Method and Description |
---|---|
Object |
executeCommand(org.eclipse.lsp4j.ExecuteCommandParams params,
SharedSettings sharedSettings,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Executes a command
|
Object executeCommand(org.eclipse.lsp4j.ExecuteCommandParams params, SharedSettings sharedSettings, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception
params
- command execution parameterssharedSettings
- the shared settings.cancelChecker
- check if cancel has been requestedException
- the unhandled exception will be wrapped in
org.eclipse.lsp4j.jsonrpc.ResponseErrorException
and be wired back to the JSON-RPC protocol callerCopyright © 2021. All rights reserved.