@Test public void setRows() { tested.setRows(roles); verify(binder).setModel(roles); }
@Override public void setRows(final List<KeyValueRow> rows) { binder.setModel(rows); for (int i = 0; i < getRowsCount(); i++) { RolesListItemWidgetView widget = getWidget(i); widget.setParentWidget(this); } }
RolesEditorWidgetViewImpl extends Composite implements RolesEditorWidgetView,
                                                                    HasValue<String> { @Override public void setRows(final List<KeyValueRow> rows) { binder.setModel(rows); for (int i = 0; i < getRowsCount(); i++) { RolesListItemWidgetView widget = getWidget(i); widget.setParentWidget(this); } } }
RolesEditorWidgetViewImpl extends Composite implements RolesEditorWidgetView,
                                                                    HasValue<String> { @Override public void setRows(final List<KeyValueRow> rows) { binder.setModel(rows); for (int i = 0; i < getRowsCount(); i++) { RolesListItemWidgetView widget = getWidget(i); widget.setParentWidget(this); } } RolesEditorWidgetViewImpl(); }
RolesEditorWidgetViewImpl extends Composite implements RolesEditorWidgetView,
                                                                    HasValue<String> { @Override public void setRows(final List<KeyValueRow> rows) { binder.setModel(rows); for (int i = 0; i < getRowsCount(); i++) { RolesListItemWidgetView widget = getWidget(i); widget.setParentWidget(this); } } RolesEditorWidgetViewImpl(); @Override String getValue(); @Override void setValue(final String value); @Override void setValue(final String value,
                         final boolean fireEvents); @Override void doSave(); @Override void notifyModelChanged(); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<String> handler); @Override void init(final Presenter presenter); @Override void setReadOnly(final boolean readOnly); @Override int getRowsCount(); @Override void setRows(final List<KeyValueRow> rows); @Override List<KeyValueRow> getRows(); @Override RolesListItemWidgetView getWidget(int index); @Override void remove(final KeyValueRow row); @Override boolean isDuplicateName(String name); }
RolesEditorWidgetViewImpl extends Composite implements RolesEditorWidgetView,
                                                                    HasValue<String> { @Override public void setRows(final List<KeyValueRow> rows) { binder.setModel(rows); for (int i = 0; i < getRowsCount(); i++) { RolesListItemWidgetView widget = getWidget(i); widget.setParentWidget(this); } } RolesEditorWidgetViewImpl(); @Override String getValue(); @Override void setValue(final String value); @Override void setValue(final String value,
                         final boolean fireEvents); @Override void doSave(); @Override void notifyModelChanged(); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<String> handler); @Override void init(final Presenter presenter); @Override void setReadOnly(final boolean readOnly); @Override int getRowsCount(); @Override void setRows(final List<KeyValueRow> rows); @Override List<KeyValueRow> getRows(); @Override RolesListItemWidgetView getWidget(int index); @Override void remove(final KeyValueRow row); @Override boolean isDuplicateName(String name);  }