TextField widget

A Rich UI textField widget defines a text box that contains a single line of text.

Here is example code:
package client;

import eglx.ui.rui.Event;
import org.eclipse.edt.rui.widgets.RadioGroup;
import org.eclipse.edt.rui.widgets.TextField;

handler MyHandler type RUIHandler{initialUI =[myTextField, myRadioGroup]}

   myTextField TextField{text = "On Monday?"};

   myRadioGroup RadioGroup{groupName = "abc", 
                           options =["Monday", "Tuesday"], 
                           onClick ::= myRadio};

   function myRadio(e Event in)
      if(myRadioGroup.selected == "Tuesday")
         myTextField.text = "No, on Monday!";
      else
         myTextField.text = "No, on Tuesday!";
      end
   end
end
The following fields are supported.
The following function is supported:

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