Class GenerateXMLModelWithXSDCodeActionResolver
- java.lang.Object
-
- org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints.AbstractGenerateGrammarAndAssociationResolveCodeActionParticipant
-
- org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints.GenerateXMLModelWithXSDCodeActionResolver
-
- All Implemented Interfaces:
ICodeActionResolvesParticipant
public class GenerateXMLModelWithXSDCodeActionResolver extends AbstractGenerateGrammarAndAssociationResolveCodeActionParticipant
Code action resolver participant used to:- generate the XSD file for the given DOM document
- generate the association xml-model in the XML to bind it with the generated XSD
- Author:
- Angelo ZERR
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARTICIPANT_ID
-
Constructor Summary
Constructors Constructor Description GenerateXMLModelWithXSDCodeActionResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.lsp4j.TextDocumentEditcreateFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings)protected FileContentGeneratorSettingsgetFileContentGeneratorSettings()-
Methods inherited from class org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.nogrammarconstraints.AbstractGenerateGrammarAndAssociationResolveCodeActionParticipant
resolveCodeAction
-
-
-
-
Field Detail
-
PARTICIPANT_ID
public static final String PARTICIPANT_ID
-
-
Method Detail
-
createFileEdit
protected org.eclipse.lsp4j.TextDocumentEdit createFileEdit(String grammarFileName, DOMDocument document, SharedSettings sharedSettings) throws BadLocationException
- Specified by:
createFileEditin classAbstractGenerateGrammarAndAssociationResolveCodeActionParticipant- Throws:
BadLocationException
-
getFileContentGeneratorSettings
protected FileContentGeneratorSettings getFileContentGeneratorSettings()
- Specified by:
getFileContentGeneratorSettingsin classAbstractGenerateGrammarAndAssociationResolveCodeActionParticipant
-
-