Class WebColorPresentationSupplier
java.lang.Object
com.github._1c_syntax.bsl.languageserver.color.WebColorPresentationSupplier
- All Implemented Interfaces:
ColorPresentationSupplier
@Component
public class WebColorPresentationSupplier
extends Object
implements ColorPresentationSupplier
Сапплаер данными о представлении элемента цвета через обращение
к системному перечислению
WebЦвета
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetColorPresentation
(DocumentContext documentContext, ColorPresentationParams params)
-
Constructor Details
-
WebColorPresentationSupplier
@ConstructorProperties("configuration") public WebColorPresentationSupplier(LanguageServerConfiguration configuration)
-
-
Method Details
-
getColorPresentation
public List<ColorPresentation> getColorPresentation(DocumentContext documentContext, ColorPresentationParams params) - Specified by:
getColorPresentation
in interfaceColorPresentationSupplier
- Parameters:
documentContext
- Контекст документа, для которого надо рассчитать данные о представлении элемента цвета.params
- Параметры вызова.- Returns:
- Список представлений элемента цвета.
-