code: public void setEditMode(EditMode currentMode) {
  		super.setEditMode(currentMode);
  		if (controller != null) {
  			controller.setEditMode(currentMode);
  		}
  	}
docs: -------------------------------------------------------------------------