Image widget

A Rich UI image widget presents a graphic.

The following fields are supported:
The following example renders a graphic or the string “EGL is here!”:
package client;

import org.eclipse.edt.rui.widgets.Image;
import eglx.ui.rui.RUIHandler;	

Handler MyHandler type RUIHandler {initialUI = [myImage]}

   myImage Image
   {
      src = 
      "http://www.planeteclipse.org/planet/images/planet_header.jpg",
      text = "EGL is here!"
   };

end

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.Image;