@Test public void testOnlySingleEntryAllowed() { view.showOnlySingleEntryAllowed(); verify(notification).fire(eventCaptor.capture()); assertEquals(StunnerFormsClientFieldsConstants.CONSTANTS.Only_single_entry_allowed(), eventCaptor.getValue().getNotification()); }
@Override public void showOnlySingleEntryAllowed() { notification.fire(new NotificationEvent(StunnerFormsClientFieldsConstants.CONSTANTS.Only_single_entry_allowed(), NotificationEvent.NotificationType.ERROR)); }
ActivityDataIOEditorWidgetViewImpl extends Composite implements ActivityDataIOEditorWidgetView { @Override public void showOnlySingleEntryAllowed() { notification.fire(new NotificationEvent(StunnerFormsClientFieldsConstants.CONSTANTS.Only_single_entry_allowed(), NotificationEvent.NotificationType.ERROR)); } }
ActivityDataIOEditorWidgetViewImpl extends Composite implements ActivityDataIOEditorWidgetView { @Override public void showOnlySingleEntryAllowed() { notification.fire(new NotificationEvent(StunnerFormsClientFieldsConstants.CONSTANTS.Only_single_entry_allowed(), NotificationEvent.NotificationType.ERROR)); }  }
ActivityDataIOEditorWidgetViewImpl extends Composite implements ActivityDataIOEditorWidgetView { @Override public void showOnlySingleEntryAllowed() { notification.fire(new NotificationEvent(StunnerFormsClientFieldsConstants.CONSTANTS.Only_single_entry_allowed(), NotificationEvent.NotificationType.ERROR)); }  @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 showOnlySingleEntryAllowed() { notification.fire(new NotificationEvent(StunnerFormsClientFieldsConstants.CONSTANTS.Only_single_entry_allowed(), NotificationEvent.NotificationType.ERROR)); }  @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);  }