Class HoverParticipantAdapter
java.lang.Object
org.eclipse.lemminx.services.extensions.hover.HoverParticipantAdapter
- All Implemented Interfaces:
IHoverParticipant
- Direct Known Subclasses:
ContentModelHoverParticipant,EntitiesHoverParticipant,XSIHoverParticipant
Hover participant adapter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.lsp4j.HoveronAttributeName(IHoverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) onAttributeName methodorg.eclipse.lsp4j.HoveronAttributeValue(IHoverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) onAttributeValue methodorg.eclipse.lsp4j.HoveronTag(IHoverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) onTag methodorg.eclipse.lsp4j.HoveronText(IHoverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) onText method
-
Constructor Details
-
HoverParticipantAdapter
public HoverParticipantAdapter()
-
-
Method Details
-
onTag
public org.eclipse.lsp4j.Hover onTag(IHoverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception Description copied from interface:IHoverParticipantonTag method- Specified by:
onTagin interfaceIHoverParticipant- Returns:
- the Value of MarkupContent
String - Throws:
Exception
-
onAttributeName
public org.eclipse.lsp4j.Hover onAttributeName(IHoverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception Description copied from interface:IHoverParticipantonAttributeName method- Specified by:
onAttributeNamein interfaceIHoverParticipant- Returns:
- the Value of MarkupContent
String - Throws:
Exception
-
onAttributeValue
public org.eclipse.lsp4j.Hover onAttributeValue(IHoverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception Description copied from interface:IHoverParticipantonAttributeValue method- Specified by:
onAttributeValuein interfaceIHoverParticipant- Returns:
- the Value of MarkupContent
String - Throws:
Exception
-
onText
public org.eclipse.lsp4j.Hover onText(IHoverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) throws Exception Description copied from interface:IHoverParticipantonText method- Specified by:
onTextin interfaceIHoverParticipant- Returns:
- the Value of MarkupContent
String - Throws:
Exception
-