@Test public void testInit() { view.init(presenter); verify(button, times(1)).setText(StunnerFormsClientFieldsConstants.CONSTANTS.Add()); verify(button, times(1)).setIcon(IconType.PLUS); }
@Override public void init(final Presenter presenter) { this.presenter = presenter; addVarButton.setText(StunnerFormsClientFieldsConstants.CONSTANTS.Add()); addVarButton.setIcon(IconType.PLUS); nameth.setInnerText(StunnerFormsClientFieldsConstants.CONSTANTS.Name()); datatypeth.setInnerText(StunnerFormsClientFieldsConstants.CONSTANTS.Data_Type()); }
ActivityDataIOEditorWidgetViewImpl extends Composite implements ActivityDataIOEditorWidgetView { @Override public void init(final Presenter presenter) { this.presenter = presenter; addVarButton.setText(StunnerFormsClientFieldsConstants.CONSTANTS.Add()); addVarButton.setIcon(IconType.PLUS); nameth.setInnerText(StunnerFormsClientFieldsConstants.CONSTANTS.Name()); datatypeth.setInnerText(StunnerFormsClientFieldsConstants.CONSTANTS.Data_Type()); } }
ActivityDataIOEditorWidgetViewImpl extends Composite implements ActivityDataIOEditorWidgetView { @Override public void init(final Presenter presenter) { this.presenter = presenter; addVarButton.setText(StunnerFormsClientFieldsConstants.CONSTANTS.Add()); addVarButton.setIcon(IconType.PLUS); nameth.setInnerText(StunnerFormsClientFieldsConstants.CONSTANTS.Name()); datatypeth.setInnerText(StunnerFormsClientFieldsConstants.CONSTANTS.Data_Type()); }  }
ActivityDataIOEditorWidgetViewImpl extends Composite implements ActivityDataIOEditorWidgetView { @Override public void init(final Presenter presenter) { this.presenter = presenter; addVarButton.setText(StunnerFormsClientFieldsConstants.CONSTANTS.Add()); addVarButton.setIcon(IconType.PLUS); nameth.setInnerText(StunnerFormsClientFieldsConstants.CONSTANTS.Name()); datatypeth.setInnerText(StunnerFormsClientFieldsConstants.CONSTANTS.Data_Type()); }  @Override void init(final Presenter presenter); @Override void showOnlySingleEntryAllowed(); @Override int getAssignmentsCount(); @Override void setTableTitleInputSingle(); @Override void setTableTitleInputMultiple(); @Override void setTableTitleOutputSingle(); @Override void setTableTitleOutputMultiple(); @Override void setProcessVarAsSource(); @Override void setProcessVarAsTarget(); @Override void setTableDisplayStyle(); @Override void setNoneDisplayStyle(); @Override void setAssignmentRows(final List<AssignmentRow> rows); @Override List<AssignmentRow> getAssignmentRows(); @Override AssignmentListItemWidgetView getAssignmentWidget(final int index); @Override void setReadOnly(final boolean readOnly); @EventHandler("addVarButton") void handleAddVarButton(final ClickEvent e); }
ActivityDataIOEditorWidgetViewImpl extends Composite implements ActivityDataIOEditorWidgetView { @Override public void init(final Presenter presenter) { this.presenter = presenter; addVarButton.setText(StunnerFormsClientFieldsConstants.CONSTANTS.Add()); addVarButton.setIcon(IconType.PLUS); nameth.setInnerText(StunnerFormsClientFieldsConstants.CONSTANTS.Name()); datatypeth.setInnerText(StunnerFormsClientFieldsConstants.CONSTANTS.Data_Type()); }  @Override void init(final Presenter presenter); @Override void showOnlySingleEntryAllowed(); @Override int getAssignmentsCount(); @Override void setTableTitleInputSingle(); @Override void setTableTitleInputMultiple(); @Override void setTableTitleOutputSingle(); @Override void setTableTitleOutputMultiple(); @Override void setProcessVarAsSource(); @Override void setProcessVarAsTarget(); @Override void setTableDisplayStyle(); @Override void setNoneDisplayStyle(); @Override void setAssignmentRows(final List<AssignmentRow> rows); @Override List<AssignmentRow> getAssignmentRows(); @Override AssignmentListItemWidgetView getAssignmentWidget(final int index); @Override void setReadOnly(final boolean readOnly); @EventHandler("addVarButton") void handleAddVarButton(final ClickEvent e);  }