code: public CMAEditorInterface addControl(Control control) {
      if (controls == null) {
        controls = new ArrayList<Control>();
      }
  
      controls.add(control);
      return this;
    }
docs: Adds a new control to the list of controls.
  <p>
  It might create a new list of controls, if no list is created.
  
  @param control to be added to the list.
  @return this instance for chaining.