Class AbstractRunTestsCodeLensSupplier<T extends CodeLensData>
java.lang.Object
com.github._1c_syntax.bsl.languageserver.codelenses.AbstractRunTestsCodeLensSupplier<T>
- All Implemented Interfaces:
CodeLensSupplier<T>
- Direct Known Subclasses:
RunAllTestsCodeLensSupplier,RunTestCodeLensSupplier
public abstract class AbstractRunTestsCodeLensSupplier<T extends CodeLensData>
extends Object
implements CodeLensSupplier<T>
-
Field Summary
Fields inherited from interface com.github._1c_syntax.bsl.languageserver.codelenses.CodeLensSupplier
CODE_LENS_SUPPLIER_SUFFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidОбработчик событияLanguageServerInitializeRequestReceivedEvent.booleanisApplicable(DocumentContext documentContext) Возвращает необходимость применения сапплаера на конкретном документе.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github._1c_syntax.bsl.languageserver.codelenses.CodeLensSupplier
getCodeLensDataClass, getCodeLenses, getId, resolve
-
Constructor Details
-
AbstractRunTestsCodeLensSupplier
public AbstractRunTestsCodeLensSupplier()
-
-
Method Details
-
handleEvent
Обработчик событияLanguageServerInitializeRequestReceivedEvent.Анализирует тип подключенного клиента и управляет применимостью линзы.
- Parameters:
event- Событие
-
isApplicable
Возвращает необходимость применения сапплаера на конкретном документе.- Specified by:
isApplicablein interfaceCodeLensSupplier<T extends CodeLensData>- Parameters:
documentContext- Документ.- Returns:
- Необходимость применения.
-