public class ContentModelPlugin extends Object implements IXMLExtension
Constructor and Description |
---|
ContentModelPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
doSave(ISaveContext context)
Called when the Settings or a Document have been saved.
|
ContentModelManager |
getContentModelManager() |
ContentModelSettings |
getContentModelSettings() |
void |
start(org.eclipse.lsp4j.InitializeParams params,
XMLExtensionsRegistry registry)
Start method to register participants like
ICompletionParticipant ,
IHoverParticipant , IDiagnosticsParticipant in the given
registry. |
void |
stop(XMLExtensionsRegistry registry)
Stop method to un-register participants like
ICompletionParticipant ,
IHoverParticipant , IDiagnosticsParticipant in the given
registry. |
public void doSave(ISaveContext context)
IXMLExtension
doSave
in interface IXMLExtension
public void start(org.eclipse.lsp4j.InitializeParams params, XMLExtensionsRegistry registry)
IXMLExtension
ICompletionParticipant
,
IHoverParticipant
, IDiagnosticsParticipant
in the given
registry.start
in interface IXMLExtension
public void stop(XMLExtensionsRegistry registry)
IXMLExtension
ICompletionParticipant
,
IHoverParticipant
, IDiagnosticsParticipant
in the given
registry.stop
in interface IXMLExtension
public ContentModelSettings getContentModelSettings()
public ContentModelManager getContentModelManager()
Copyright © 2021. All rights reserved.