Closed jreznot closed 10 years ago
I have used this WrapperWidget for enabled support:
public class AceEditorWrapperWidget extends AceEditorWidget { private boolean enabled = true; private boolean readOnly = false; @Override public void setEnabled(boolean enabled) { super.setEnabled(enabled); this.enabled = enabled; super.setReadOnly(!this.enabled || readOnly); } @Override public void setReadOnly(boolean readOnly) { this.readOnly = readOnly; super.setReadOnly(!this.enabled || readOnly); } }
I have used this WrapperWidget for enabled support: