public interface ExternalURLHandler
AutoCompletion, and
open the URL in a web browser yourself.
Alternatively, folks implementing robust code completion support for a
language might install an ExternalURLHandler to handle
navigating through linked documentation of objects, functions, etc.
AutoCompletion.setExternalURLHandler(ExternalURLHandler)| Modifier and Type | Method and Description |
|---|---|
void |
urlClicked(HyperlinkEvent e,
Completion c,
DescWindowCallback callback)
Called when an external URL is clicked in the description window.
|
void urlClicked(HyperlinkEvent e, Completion c, DescWindowCallback callback)
e - The event containing the hyperlink clicked.c - The completion currently being displayed.callback - Allows you to display new content in the description
window.