Interface IXMLExtension
-
- All Known Implementing Classes:
ContentModelPlugin,DTDPlugin,EntitiesPlugin,FileContentGeneratorPlugin,FilePathPlugin,PrologPlugin,RelaxNGPlugin,XIncludePlugin,XMLCatalogPlugin,XMLColorsPlugin,XMLModelPlugin,XMLReferencesPlugin,XSDPlugin,XSISchemaPlugin,XSLPlugin
public interface IXMLExtensionXML extension.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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 Detail
-
start
void start(org.eclipse.lsp4j.InitializeParams params, XMLExtensionsRegistry registry)Start method to register participants likeICompletionParticipant,IHoverParticipant,IDiagnosticsParticipantin the given registry.- Parameters:
params-registry-settings-
-
stop
void stop(XMLExtensionsRegistry registry)
Stop method to un-register participants likeICompletionParticipant,IHoverParticipant,IDiagnosticsParticipantin the given registry.- Parameters:
registry-
-
doSave
default void doSave(ISaveContext context)
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-
-
-