@Test public void getImplementationOptions() { List<String> options = widget.getImplementationOptions(); assertEquals(2, options.size()); assertEquals("Java", options.get(0)); assertEquals("WebService", options.get(1)); }
List<String> getImplementationOptions() { List<String> options = new ArrayList<>(); options.add(JAVA); options.add(WEBSERVICE); return options; }
GenericServiceTaskEditorWidget extends Composite implements HasValue<GenericServiceTaskValue> { List<String> getImplementationOptions() { List<String> options = new ArrayList<>(); options.add(JAVA); options.add(WEBSERVICE); return options; } }
GenericServiceTaskEditorWidget extends Composite implements HasValue<GenericServiceTaskValue> { List<String> getImplementationOptions() { List<String> options = new ArrayList<>(); options.add(JAVA); options.add(WEBSERVICE); return options; }  }
GenericServiceTaskEditorWidget extends Composite implements HasValue<GenericServiceTaskValue> { List<String> getImplementationOptions() { List<String> options = new ArrayList<>(); options.add(JAVA); options.add(WEBSERVICE); return options; }  @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> { List<String> getImplementationOptions() { List<String> options = new ArrayList<>(); options.add(JAVA); options.add(WEBSERVICE); return options; }  @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);  }