public class XMLDocumentColorParticipant extends Object implements IDocumentColorParticipant
XMLColorsSettings.| Constructor and Description |
|---|
XMLDocumentColorParticipant(XMLColorsPlugin xmlColorsPlugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
doColorPresentations(DOMDocument xmlDocument,
org.eclipse.lsp4j.ColorPresentationParams params,
List<org.eclipse.lsp4j.ColorPresentation> presentations,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Fill the given the
presentations list of
ColorPresentation for the given DOM document xmlDocument
and the given params colors presentation parameter. |
void |
doDocumentColor(DOMDocument xmlDocument,
List<org.eclipse.lsp4j.ColorInformation> colors,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Fill the given the
colors list of ColorInformation for
the given DOM document xmlDocument. |
public XMLDocumentColorParticipant(XMLColorsPlugin xmlColorsPlugin)
public void doDocumentColor(DOMDocument xmlDocument, List<org.eclipse.lsp4j.ColorInformation> colors, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
IDocumentColorParticipantcolors list of ColorInformation for
the given DOM document xmlDocument.doDocumentColor in interface IDocumentColorParticipantxmlDocument - the DOM document.colors - the colors list to update.cancelChecker - the cancel checker.public void doColorPresentations(DOMDocument xmlDocument, org.eclipse.lsp4j.ColorPresentationParams params, List<org.eclipse.lsp4j.ColorPresentation> presentations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
IDocumentColorParticipantpresentations list of
ColorPresentation for the given DOM document xmlDocument
and the given params colors presentation parameter.doColorPresentations in interface IDocumentColorParticipantxmlDocument - the DOM document.params - the color presentation parameter.presentations - the presentations list to update.cancelChecker - the cancel checker.Copyright © 2024. All rights reserved.