public abstract class TooltipLinkHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INSPECTION_INFO |
Constructor and Description |
---|
TooltipLinkHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription(java.lang.String refSuffix,
Editor editor)
Override to show extended description on mouse clicks on a link or expand action.
|
java.lang.String |
getDescriptionTitle(java.lang.String refSuffix,
Editor editor)
Override to change the title above shown
getDescription(String, Editor) |
boolean |
handleLink(java.lang.String refSuffix,
Editor editor)
Override to handle mouse clicks on a link.
|
public static final java.lang.String INSPECTION_INFO
public boolean handleLink(java.lang.String refSuffix, Editor editor)
refSuffix
- part of link's href attribute after registered prefix.editor
- an editor in which tooltip with a link was shown.true
if a link was handled.public java.lang.String getDescription(java.lang.String refSuffix, Editor editor)
handleLink(String, com.intellij.openapi.editor.Editor)
returned false
.refSuffix
- part of link's href attribute after registered prefix.editor
- an editor in which tooltip with a link was shown.public java.lang.String getDescriptionTitle(java.lang.String refSuffix, Editor editor)
getDescription(String, Editor)
refSuffix
- part of link's href attribute after registered prefix.editor
- an editor in which tooltip with a link was shown.