@Test public void testSetDisallowedNames() { Set<String> disallowedNames = new HashSet<>(); String disallowedNameErrorMessage = "error value"; view.setDisallowedNames(disallowedNames, disallowedNameErrorMessage); verify(name).setInvalidValues(disallowedNames, false, disallowedNameErrorMessage); }
@Override public void setDisallowedNames(final Set<String> disallowedNames, final String disallowedNameErrorMessage) { name.setInvalidValues(disallowedNames, false, disallowedNameErrorMessage); }
AssignmentListItemWidgetViewImpl extends Composite implements AssignmentListItemWidgetView,
                                                                           ComboBoxView.ModelPresenter { @Override public void setDisallowedNames(final Set<String> disallowedNames, final String disallowedNameErrorMessage) { name.setInvalidValues(disallowedNames, false, disallowedNameErrorMessage); } }
AssignmentListItemWidgetViewImpl extends Composite implements AssignmentListItemWidgetView,
                                                                           ComboBoxView.ModelPresenter { @Override public void setDisallowedNames(final Set<String> disallowedNames, final String disallowedNameErrorMessage) { name.setInvalidValues(disallowedNames, false, disallowedNameErrorMessage); }  }
AssignmentListItemWidgetViewImpl extends Composite implements AssignmentListItemWidgetView,
                                                                           ComboBoxView.ModelPresenter { @Override public void setDisallowedNames(final Set<String> disallowedNames, final String disallowedNameErrorMessage) { name.setInvalidValues(disallowedNames, false, disallowedNameErrorMessage); }  void setParentWidget(final ActivityDataIOEditorWidget parentWidget); @Override void setTextBoxModelValue(final TextBox textBox,
                                     final String value); @Override void setListBoxModelValue(final ValueListBox<String> listBox,
                                     final String value); @Override String getModelValue(final ValueListBox<String> listBox); @PostConstruct void init(); @Override AssignmentRow getModel(); @Override void setModel(final AssignmentRow model); @Override VariableType getVariableType(); @Override String getDataType(); @Override void setDataType(final String dataType); @Override String getCustomDataType(); @Override void setCustomDataType(final String customDataType); @Override String getProcessVar(); @Override void setProcessVar(final String processVar); @Override String getExpression(); @Override void setExpression(final String expression); @Override void setDataTypes(final ListBoxValues dataTypeListBoxValues); @Override void setProcessVariables(final ListBoxValues processVarListBoxValues); @Override void setShowExpressions(final boolean showExpressions); @Override void setDisallowedNames(final Set<String> disallowedNames,
                                   final String disallowedNameErrorMessage); @Override void setAllowDuplicateNames(final boolean allowDuplicateNames,
                                       final String duplicateNameErrorMessage); @Override boolean isDuplicateName(final String name); @Override boolean isMultipleInstanceVariable(final String name); @Override void setReadOnly(final boolean readOnly); @EventHandler("deleteButton") void handleDeleteButton(final ClickEvent e); void notifyModelChanged(); }
AssignmentListItemWidgetViewImpl extends Composite implements AssignmentListItemWidgetView,
                                                                           ComboBoxView.ModelPresenter { @Override public void setDisallowedNames(final Set<String> disallowedNames, final String disallowedNameErrorMessage) { name.setInvalidValues(disallowedNames, false, disallowedNameErrorMessage); }  void setParentWidget(final ActivityDataIOEditorWidget parentWidget); @Override void setTextBoxModelValue(final TextBox textBox,
                                     final String value); @Override void setListBoxModelValue(final ValueListBox<String> listBox,
                                     final String value); @Override String getModelValue(final ValueListBox<String> listBox); @PostConstruct void init(); @Override AssignmentRow getModel(); @Override void setModel(final AssignmentRow model); @Override VariableType getVariableType(); @Override String getDataType(); @Override void setDataType(final String dataType); @Override String getCustomDataType(); @Override void setCustomDataType(final String customDataType); @Override String getProcessVar(); @Override void setProcessVar(final String processVar); @Override String getExpression(); @Override void setExpression(final String expression); @Override void setDataTypes(final ListBoxValues dataTypeListBoxValues); @Override void setProcessVariables(final ListBoxValues processVarListBoxValues); @Override void setShowExpressions(final boolean showExpressions); @Override void setDisallowedNames(final Set<String> disallowedNames,
                                   final String disallowedNameErrorMessage); @Override void setAllowDuplicateNames(final boolean allowDuplicateNames,
                                       final String duplicateNameErrorMessage); @Override boolean isDuplicateName(final String name); @Override boolean isMultipleInstanceVariable(final String name); @Override void setReadOnly(final boolean readOnly); @EventHandler("deleteButton") void handleDeleteButton(final ClickEvent e); void notifyModelChanged();  }