public class DownloadDisabledResourceCodeAction extends Object implements ICodeActionParticipant
| Constructor and Description |
|---|
DownloadDisabledResourceCodeAction() |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.lsp4j.Command |
createDownloadCommand(String title,
String url,
String documentURI) |
void |
doCodeAction(ICodeActionRequest request,
List<org.eclipse.lsp4j.CodeAction> codeActions,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Collect the code action in the given
codeActions for the given
code action request request. |
static String |
getUrlToForceToDownload(Map<String,Object> validationArgs)
Returns the url to force to download and null otherwise.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoCodeActionUnconditional, getResolveCodeActionParticipantpublic void doCodeAction(ICodeActionRequest request, List<org.eclipse.lsp4j.CodeAction> codeActions, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
ICodeActionParticipantcodeActions for the given
code action request request.doCodeAction in interface ICodeActionParticipantrequest - the code action request.codeActions - list of code actions to fill.cancelChecker - the cancel checker.public static org.eclipse.lsp4j.Command createDownloadCommand(String title, String url, String documentURI)
Copyright © 2024. All rights reserved.