public void setSaveEnabled ( boolean val ) { saveButton . setVisible ( val ) ; setReadOnly ( ! val ) ; entityForm . setReadOnly ( ! val ) ; }
Controls whether a save button is shown and fields are editable .