Package org.fife.ui.autocomplete
Interface ExternalURLHandler
public interface ExternalURLHandler
A callback for when an external URL is clicked in the description window.
If no handler is installed, the system default web browser is used to open
the URL.
Alternatively, folks implementing robust code completion support for a
language might install an ExternalURLHandler to handle
navigating through linked documentation of objects, functions, etc.
-
Method Summary
Modifier and TypeMethodDescriptionvoidurlClicked(HyperlinkEvent e, Completion c, DescWindowCallback callback) Called when an external URL is clicked in the description window.
-
Method Details
-
urlClicked
Called when an external URL is clicked in the description window.- Parameters:
e- The event containing the hyperlink clicked.c- The completion currently being displayed.callback- Allows you to display new content in the description window.
-