Class XMLCatalogCodeLensParticipant
- java.lang.Object
-
- org.eclipse.lemminx.extensions.catalog.participants.XMLCatalogCodeLensParticipant
-
- All Implemented Interfaces:
ICodeLensParticipant
public class XMLCatalogCodeLensParticipant extends Object implements ICodeLensParticipant
This code lens participant creates the "(un)register catalog" code lens in catalog files. When clicked, this catalog runs the client command"xml.update.configuration"to update the workspace settings to register the catalog for use. The client needs to implement the"xml.update.configuration"command in order for this to work.
-
-
Constructor Summary
Constructors Constructor Description XMLCatalogCodeLensParticipant(ContentModelManager contentModelManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoCodeLens(ICodeLensRequest request, List<org.eclipse.lsp4j.CodeLens> lenses, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
-
-
-
Constructor Detail
-
XMLCatalogCodeLensParticipant
public XMLCatalogCodeLensParticipant(ContentModelManager contentModelManager)
-
-
Method Detail
-
doCodeLens
public void doCodeLens(ICodeLensRequest request, List<org.eclipse.lsp4j.CodeLens> lenses, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
- Specified by:
doCodeLensin interfaceICodeLensParticipant
-
-