Skip to main content
Jump to: navigation, search

Tip of the Day/Extending/IBrowserFunctionProvider

IBrowserFunctionProvider Tip

Tips implementing IHtmlTip or IUrlTip can also implement the IBrowserFunctionProvider interface in order to equip the SWT Browser, which is used for rendering, with JavaScript functions. So one can invoke certain actions by using JavaScript, e.g., opening the preferences by clicking a link.

Examples

The EclipseTipProvider contains an example:

Back to the top