vaadin/src/main/java/net/typedrest/vaadin/views/ElementView.java
public void setSaveEnabled(boolean val) {
        saveButton.setVisible(val);
        setReadOnly(!val);
        entityForm.setReadOnly(!val);
    }
public void setSaveEnabled(boolean val) {
        saveButton.setVisible(val);
        setReadOnly(!val);
        entityForm.setReadOnly(!val);
    }
Controls whether a save button is shown and fields are editable.

@param val Turns the feature on or off.