Hyperlink widget

A Rich UI hyperlink defines a link that, if clicked, causes presentation of the target content.

The following fields are supported:
The following example renders a link to the web site for EGL Development Tools, and the displayed text is “Do more with EGL”:
Handler Hyper type RUIHandler {children = [myHyperlink]}

   myHyperlink HyperLink
   {
      text = "Do more with EGL",        
      target = "_blank",
      href = "http://www.eclipse.org/edt"
   };

end
If the web page to which you are linking takes up the Preview view, you can clear the page as follows:

Other supported fields and functions are described in the following topics in the EGL Programmer’s Guide: “Rich UI widget fields” and ”Rich UI widget functions.”

Use of this widget requires the following statement:
import org.eclipse.edt.rui.widgets.Hyperlink;