How to create a custom control?

To make a custom control you do the following

  1. Make a subclass from a DialogControl subclass (DialogSelect for example)
  2. register in the config under /modules/adminInterface/Config/controls
  3. use the new control as all the others

To access the configuration settings use getConfigValue(name) To make a DropDownBox having special values you would do something like:

MySelect extends DialogSelect(){
     MySelect(...){
         super(..);
     }

setOptions(){ for each node found add option to the control; } }