public interface ExternalDocumentationHandler
DocumentationProvider
.Modifier and Type | Method and Description |
---|---|
boolean |
canFetchDocumentationLink(java.lang.String link) |
default boolean |
canHandleExternal(PsiElement element,
PsiElement originalElement)
Defines whether we will show external documentation
link at the bottom of the documentation pane or not.
|
default java.lang.String |
extractRefFromLink(java.lang.String link)
This method can supply a target (HTML reference), which will be navigated to on showing of
fetchExternalDocumentation(String, PsiElement) ) result. |
java.lang.String |
fetchExternalDocumentation(java.lang.String link,
PsiElement element) |
boolean |
handleExternal(PsiElement element,
PsiElement originalElement) |
boolean |
handleExternalLink(PsiManager psiManager,
java.lang.String link,
PsiElement context) |
boolean handleExternal(PsiElement element, PsiElement originalElement)
boolean handleExternalLink(PsiManager psiManager, java.lang.String link, PsiElement context)
boolean canFetchDocumentationLink(java.lang.String link)
java.lang.String fetchExternalDocumentation(java.lang.String link, PsiElement element)
default boolean canHandleExternal(PsiElement element, PsiElement originalElement)
default java.lang.String extractRefFromLink(java.lang.String link)
fetchExternalDocumentation(String, PsiElement)
) result.DocumentationManagerProtocol