public class NoGrammarConstraintsCodeAction extends Object implements ICodeActionParticipant
| Constructor and Description |
|---|
NoGrammarConstraintsCodeAction() |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.lsp4j.TextDocumentEdit |
createDocTypeEdit(String dtdFileName,
DOMDocument document,
SharedSettings sharedSettings) |
static org.eclipse.lsp4j.TextDocumentEdit |
createXmlModelEdit(String schemaFileName,
String targetNamespace,
DOMDocument document,
SharedSettings sharedSettings) |
static org.eclipse.lsp4j.TextDocumentEdit |
createXSINoNamespaceSchemaLocationEdit(String schemaFileName,
DOMDocument document,
SharedSettings sharedSettings) |
static org.eclipse.lsp4j.TextDocumentEdit |
createXSISchemaLocationEdit(String schemaFileName,
String targetNamespace,
DOMDocument document,
SharedSettings sharedSettings) |
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. |
ICodeActionResolvesParticipant |
getResolveCodeActionParticipant(String participantId)
Returns the codeAction resolver participant identified by the given
participantId and null otherwise. |
public 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 ICodeActionResolvesParticipant getResolveCodeActionParticipant(String participantId)
ICodeActionParticipantparticipantId and null otherwise.getResolveCodeActionParticipant in interface ICodeActionParticipantparticipantId - the code action resolver participant ID.participantId and null otherwise.public static org.eclipse.lsp4j.TextDocumentEdit createXSINoNamespaceSchemaLocationEdit(String schemaFileName, DOMDocument document, SharedSettings sharedSettings) throws BadLocationException
BadLocationExceptionpublic static org.eclipse.lsp4j.TextDocumentEdit createXSISchemaLocationEdit(String schemaFileName, String targetNamespace, DOMDocument document, SharedSettings sharedSettings) throws BadLocationException
BadLocationExceptionpublic static org.eclipse.lsp4j.TextDocumentEdit createXmlModelEdit(String schemaFileName, String targetNamespace, DOMDocument document, SharedSettings sharedSettings) throws BadLocationException
BadLocationExceptionpublic static org.eclipse.lsp4j.TextDocumentEdit createDocTypeEdit(String dtdFileName, DOMDocument document, SharedSettings sharedSettings) throws BadLocationException
BadLocationExceptionCopyright © 2023. All rights reserved.