Example #1
0
 public void changeControlState(boolean enabled) {
   if (getControls() == null) return;
   Iterator it = getControls().iterator();
   while (it.hasNext()) {
     ISootOptionWidget control = (ISootOptionWidget) it.next();
     if (control.getControls() == null) continue;
     Iterator conIt = control.getControls().iterator();
     while (conIt.hasNext()) {
       Object obj = conIt.next();
       ((Control) obj).setEnabled(enabled);
     }
   }
 }