public class FilePathPlugin extends Object implements IXMLExtension
| Constructor and Description |
|---|
FilePathPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
doSave(ISaveContext context)
Called when the Settings or a Document have been saved.
|
List<IFilePathExpression> |
findFilePathExpressions(DOMDocument xmlDocument)
Return the list of
FilePathExpression for the given document and an
empty list otherwise. |
FilePathSupportSettings |
getFilePathsSettings() |
List<IFilePathSupportParticipant> |
getFilePathSupportParticipants() |
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)
IXMLExtensiondoSave in interface IXMLExtensionpublic void start(org.eclipse.lsp4j.InitializeParams params,
XMLExtensionsRegistry registry)
IXMLExtensionICompletionParticipant,
IHoverParticipant, IDiagnosticsParticipant in the given
registry.start in interface IXMLExtensionpublic void stop(XMLExtensionsRegistry registry)
IXMLExtensionICompletionParticipant,
IHoverParticipant, IDiagnosticsParticipant in the given
registry.stop in interface IXMLExtensionpublic FilePathSupportSettings getFilePathsSettings()
public List<IFilePathExpression> findFilePathExpressions(DOMDocument xmlDocument)
FilePathExpression for the given document and an
empty list otherwise.xmlDocument - the DOM documentFilePathExpression for the given document and an
empty list otherwise.public List<IFilePathSupportParticipant> getFilePathSupportParticipants()
Copyright © 2024. All rights reserved.