/** * Sets the edition mode * * @param isEdited true to enable the edition of the form */ public void setEdited(boolean isEdited) { if (isEdited) setFieldEditAccess(); else setFieldReadAccess(); /* Description section widgets */ patient.setEdited(isEdited); patientLie.setEdited(isEdited); typeRelation.setEdited(isEdited); }