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