@Test public void setReadOnly() { widget.setReadOnly(true); verify(implementation, times(1)).setDisabled(true); verify(serviceInterface, times(1)).setDisabled(true); verify(serviceOperation, times(1)).setDisabled(true); }
public void setReadOnly(boolean readOnly) { implementation.setDisabled(readOnly); serviceInterface.setDisabled(readOnly); serviceOperation.setDisabled(readOnly); }
GenericServiceTaskEditorWidget extends Composite implements HasValue<GenericServiceTaskValue> { public void setReadOnly(boolean readOnly) { implementation.setDisabled(readOnly); serviceInterface.setDisabled(readOnly); serviceOperation.setDisabled(readOnly); } }
GenericServiceTaskEditorWidget extends Composite implements HasValue<GenericServiceTaskValue> { public void setReadOnly(boolean readOnly) { implementation.setDisabled(readOnly); serviceInterface.setDisabled(readOnly); serviceOperation.setDisabled(readOnly); }  }
GenericServiceTaskEditorWidget extends Composite implements HasValue<GenericServiceTaskValue> { public void setReadOnly(boolean readOnly) { implementation.setDisabled(readOnly); serviceInterface.setDisabled(readOnly); serviceOperation.setDisabled(readOnly); }  @PostConstruct void init(); void setServiceImplementationOptions(List<String> options); void setReadOnly(boolean readOnly); @Override GenericServiceTaskValue getValue(); @Override void setValue(GenericServiceTaskValue value); @Override void setValue(GenericServiceTaskValue newValue, boolean fireEvents); @Override HandlerRegistration addValueChangeHandler(ValueChangeHandler<GenericServiceTaskValue> handler); }
GenericServiceTaskEditorWidget extends Composite implements HasValue<GenericServiceTaskValue> { public void setReadOnly(boolean readOnly) { implementation.setDisabled(readOnly); serviceInterface.setDisabled(readOnly); serviceOperation.setDisabled(readOnly); }  @PostConstruct void init(); void setServiceImplementationOptions(List<String> options); void setReadOnly(boolean readOnly); @Override GenericServiceTaskValue getValue(); @Override void setValue(GenericServiceTaskValue value); @Override void setValue(GenericServiceTaskValue newValue, boolean fireEvents); @Override HandlerRegistration addValueChangeHandler(ValueChangeHandler<GenericServiceTaskValue> handler);  }