@Test public void testPossibleDataTypes() { List<String> dataTypes = new ArrayList<String>(); List<String> dataTypesDisplayNames = new ArrayList<String>(); dataTypes.add("a.b.c.Name"); dataTypesDisplayNames.add("Name"); ioEditor.setDataTypes(dataTypes, dataTypesDisplayNames); verify(ioEditorView).setPossibleInputAssignmentsDataTypes(listCaptor.capture()); assertEquals(1, listCaptor.getValue().size()); assertEquals(dataTypesDisplayNames.get(0), listCaptor.getValue().get(0)); verify(ioEditorView).setPossibleOutputAssignmentsDataTypes(listCaptor.capture()); assertEquals(1, listCaptor.getValue().size()); assertEquals(dataTypesDisplayNames.get(0), listCaptor.getValue().get(0)); }
public void setDataTypes(final List<String> dataTypes, final List<String> dataTypeDisplayNames) { this.dataTypes = dataTypes; this.dataTypeDisplayNames = dataTypeDisplayNames; view.setPossibleInputAssignmentsDataTypes(dataTypeDisplayNames); view.setPossibleOutputAssignmentsDataTypes(dataTypeDisplayNames); }
ActivityDataIOEditor implements ActivityDataIOEditorView.Presenter { public void setDataTypes(final List<String> dataTypes, final List<String> dataTypeDisplayNames) { this.dataTypes = dataTypes; this.dataTypeDisplayNames = dataTypeDisplayNames; view.setPossibleInputAssignmentsDataTypes(dataTypeDisplayNames); view.setPossibleOutputAssignmentsDataTypes(dataTypeDisplayNames); } }
ActivityDataIOEditor implements ActivityDataIOEditorView.Presenter { public void setDataTypes(final List<String> dataTypes, final List<String> dataTypeDisplayNames) { this.dataTypes = dataTypes; this.dataTypeDisplayNames = dataTypeDisplayNames; view.setPossibleInputAssignmentsDataTypes(dataTypeDisplayNames); view.setPossibleOutputAssignmentsDataTypes(dataTypeDisplayNames); }  }
ActivityDataIOEditor implements ActivityDataIOEditorView.Presenter { public void setDataTypes(final List<String> dataTypes, final List<String> dataTypeDisplayNames) { this.dataTypes = dataTypes; this.dataTypeDisplayNames = dataTypeDisplayNames; view.setPossibleInputAssignmentsDataTypes(dataTypeDisplayNames); view.setPossibleOutputAssignmentsDataTypes(dataTypeDisplayNames); }  @PostConstruct void init(); void setCallback(final GetDataCallback callback); @Override void handleOkClick(); @Override void handleCancelClick(); void setDataTypes(final List<String> dataTypes,
                             final List<String> dataTypeDisplayNames); void setAssignmentData(final AssignmentData assignmentData); void configureDialog(final String taskName,
                                final boolean hasInputVars,
                                final boolean isSingleInputVar,
                                final boolean hasOutputVars,
                                final boolean isSingleOutputVar); void setDisallowedPropertyNames(final List<String> disallowedPropertyNames); void setProcessVariables(final List<String> processVariables); void setInputAssignmentRows(final List<AssignmentRow> inputAssignmentRows); void setOutputAssignmentRows(final List<AssignmentRow> outputAssignmentRows); void setReadOnly(final boolean readOnly); void show(); @Override ListBoxValues.ValueTester dataTypesTester(); @Override ListBoxValues.ValueTester processVarTester(); }
ActivityDataIOEditor implements ActivityDataIOEditorView.Presenter { public void setDataTypes(final List<String> dataTypes, final List<String> dataTypeDisplayNames) { this.dataTypes = dataTypes; this.dataTypeDisplayNames = dataTypeDisplayNames; view.setPossibleInputAssignmentsDataTypes(dataTypeDisplayNames); view.setPossibleOutputAssignmentsDataTypes(dataTypeDisplayNames); }  @PostConstruct void init(); void setCallback(final GetDataCallback callback); @Override void handleOkClick(); @Override void handleCancelClick(); void setDataTypes(final List<String> dataTypes,
                             final List<String> dataTypeDisplayNames); void setAssignmentData(final AssignmentData assignmentData); void configureDialog(final String taskName,
                                final boolean hasInputVars,
                                final boolean isSingleInputVar,
                                final boolean hasOutputVars,
                                final boolean isSingleOutputVar); void setDisallowedPropertyNames(final List<String> disallowedPropertyNames); void setProcessVariables(final List<String> processVariables); void setInputAssignmentRows(final List<AssignmentRow> inputAssignmentRows); void setOutputAssignmentRows(final List<AssignmentRow> outputAssignmentRows); void setReadOnly(final boolean readOnly); void show(); @Override ListBoxValues.ValueTester dataTypesTester(); @Override ListBoxValues.ValueTester processVarTester();  }