Interface IXMLExtension
- All Known Implementing Classes:
ContentModelPlugin,DTDPlugin,EntitiesPlugin,FileContentGeneratorPlugin,FilePathPlugin,PrologPlugin,RelaxNGPlugin,XIncludePlugin,XMLCatalogPlugin,XMLColorsPlugin,XMLModelPlugin,XMLReferencesPlugin,XSDPlugin,XSISchemaPlugin,XSLPlugin
public interface IXMLExtension
XML extension.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddoSave(ISaveContext context) Called when the Settings or a Document have been saved.voidstart(org.eclipse.lsp4j.InitializeParams params, XMLExtensionsRegistry registry) Start method to register participants likeICompletionParticipant,IHoverParticipant,IDiagnosticsParticipantin the given registry.voidstop(XMLExtensionsRegistry registry) Stop method to un-register participants likeICompletionParticipant,IHoverParticipant,IDiagnosticsParticipantin the given registry.
-
Method Details
-
start
Start method to register participants likeICompletionParticipant,IHoverParticipant,IDiagnosticsParticipantin the given registry.- Parameters:
params-registry-settings-
-
stop
Stop method to un-register participants likeICompletionParticipant,IHoverParticipant,IDiagnosticsParticipantin the given registry.- Parameters:
registry-
-
doSave
Called when the Settings or a Document have been saved. context.getType() can be used to determine what type was saved. doSave is called on extension start up with a settings context to provide the xml settings to the extension.- Parameters:
context-
-