Class FilePathPlugin
java.lang.Object
org.eclipse.lemminx.extensions.filepath.FilePathPlugin
- All Implemented Interfaces:
IXMLExtension
File Path support plugin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoSave(ISaveContext context) Called when the Settings or a Document have been saved.findFilePathExpressions(DOMDocument xmlDocument) Return the list ofFilePathExpressionfor the given document and an empty list otherwise.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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.lemminx.services.extensions.IXMLExtension
initialized
-
Constructor Details
-
FilePathPlugin
public FilePathPlugin()
-
-
Method Details
-
doSave
Description copied from interface:IXMLExtensionCalled 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.- Specified by:
doSavein interfaceIXMLExtension- Parameters:
context-
-
start
Description copied from interface:IXMLExtensionStart method to register participants likeICompletionParticipant,IHoverParticipant,IDiagnosticsParticipantin the given registry.- Specified by:
startin interfaceIXMLExtension- Parameters:
params-registry-
-
stop
Description copied from interface:IXMLExtensionStop method to un-register participants likeICompletionParticipant,IHoverParticipant,IDiagnosticsParticipantin the given registry.- Specified by:
stopin interfaceIXMLExtension- Parameters:
registry-
-
getFilePathsSettings
-
findFilePathExpressions
Return the list ofFilePathExpressionfor the given document and an empty list otherwise.- Parameters:
xmlDocument- the DOM document- Returns:
- the list of
FilePathExpressionfor the given document and an empty list otherwise.
-
getFilePathSupportParticipants
-