Class AbstractGenerateGrammarCodeActionResolver

    • Constructor Detail

      • AbstractGenerateGrammarCodeActionResolver

        public AbstractGenerateGrammarCodeActionResolver()
    • Method Detail

      • resolveCodeAction

        public final org.eclipse.lsp4j.CodeAction resolveCodeAction​(ICodeActionResolverRequest request,
                                                                    org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
        Description copied from interface: ICodeActionResolvesParticipant
        Returns the resolved codeAction coming from the unresolved codeAction of the given request.
        Specified by:
        resolveCodeAction in interface ICodeActionResolvesParticipant
        Parameters:
        request - the resolve code action request.
        cancelChecker - the cancel checker.
        Returns:
        the resolved codeAction coming from the unresolved codeAction of the given request.
      • getFileContentGeneratorSettings

        protected abstract FileContentGeneratorSettings getFileContentGeneratorSettings()
        Returns the grammar settings used to generate the missing grammar file (XSD, DTD).
        Returns:
        the grammar settings used to generate the missing grammar file (XSD, DTD).