@Test public void testInit() { view.init(presenter); verify(button, times(1)).setIcon(IconType.PLUS); }
@Override public void init(final Presenter presenter) { this.presenter = presenter; addButton.setIcon(IconType.PLUS); attributeth.setInnerText("Name"); valueth.setInnerText("Value"); }
MetaDataEditorWidgetViewImpl extends Composite implements MetaDataEditorWidgetView,
                                                                       HasValue<String> { @Override public void init(final Presenter presenter) { this.presenter = presenter; addButton.setIcon(IconType.PLUS); attributeth.setInnerText("Name"); valueth.setInnerText("Value"); } }
MetaDataEditorWidgetViewImpl extends Composite implements MetaDataEditorWidgetView,
                                                                       HasValue<String> { @Override public void init(final Presenter presenter) { this.presenter = presenter; addButton.setIcon(IconType.PLUS); attributeth.setInnerText("Name"); valueth.setInnerText("Value"); }  }
MetaDataEditorWidgetViewImpl extends Composite implements MetaDataEditorWidgetView,
                                                                       HasValue<String> { @Override public void init(final Presenter presenter) { this.presenter = presenter; addButton.setIcon(IconType.PLUS); attributeth.setInnerText("Name"); valueth.setInnerText("Value"); }  @Override String getValue(); @Override void setValue(final String value); @Override void setValue(final String value,
                         final boolean fireEvents); @Override void doSave(); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<String> handler); boolean isDuplicateAttribute(final String attribute); @Override void init(final Presenter presenter); @Override void setReadOnly(final boolean readOnly); @Override int getMetaDataRowsCount(); @Override void setTableDisplayStyle(); @Override void setNoneDisplayStyle(); @Override void setMetaDataRows(final List<MetaDataRow> rows); @Override List<MetaDataRow> getMetaDataRows(); @Override MetaDataListItemWidgetView getMetaDataWidget(final int index); @EventHandler("addButton") void handleAddButton(final ClickEvent e); @Override void removeMetaData(final MetaDataRow metaDataRow); }
MetaDataEditorWidgetViewImpl extends Composite implements MetaDataEditorWidgetView,
                                                                       HasValue<String> { @Override public void init(final Presenter presenter) { this.presenter = presenter; addButton.setIcon(IconType.PLUS); attributeth.setInnerText("Name"); valueth.setInnerText("Value"); }  @Override String getValue(); @Override void setValue(final String value); @Override void setValue(final String value,
                         final boolean fireEvents); @Override void doSave(); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<String> handler); boolean isDuplicateAttribute(final String attribute); @Override void init(final Presenter presenter); @Override void setReadOnly(final boolean readOnly); @Override int getMetaDataRowsCount(); @Override void setTableDisplayStyle(); @Override void setNoneDisplayStyle(); @Override void setMetaDataRows(final List<MetaDataRow> rows); @Override List<MetaDataRow> getMetaDataRows(); @Override MetaDataListItemWidgetView getMetaDataWidget(final int index); @EventHandler("addButton") void handleAddButton(final ClickEvent e); @Override void removeMetaData(final MetaDataRow metaDataRow);  }