@Test public void testSetValue() { final List<DataColumnDef> value = mock(List.class); presenter.setValue(value); verify(listEditor, times(1)).setValue(value); verify(listEditor, times(0)).createEditorForTraversal(); verify(listEditor, times(0)).getPathElement(any(DataColumnDefEditor.class)); verify(listEditor, times(0)).setEditorChain(any(CompositeEditor.EditorChain.class)); verify(listEditor, times(0)).setDelegate(any(EditorDelegate.class)); verify(listEditor, times(0)).flush(); verify(listEditor, times(0)).onPropertyChange(anyString()); }
@Override public void setValue(final List<DataColumnDef> value) { listEditor.setValue(value); }
ColumnListEditor implements IsWidget, org.dashbuilder.dataset.client.editor.ColumnListEditor { @Override public void setValue(final List<DataColumnDef> value) { listEditor.setValue(value); } }
ColumnListEditor implements IsWidget, org.dashbuilder.dataset.client.editor.ColumnListEditor { @Override public void setValue(final List<DataColumnDef> value) { listEditor.setValue(value); } @Inject  ColumnListEditor(final SyncBeanManager beanManager,
                            final DataColumnDefDriver dataColumnDefDriver,
                            final Event<ColumnsChangedEvent> columnsChangedEvent,
                            final View view); }
ColumnListEditor implements IsWidget, org.dashbuilder.dataset.client.editor.ColumnListEditor { @Override public void setValue(final List<DataColumnDef> value) { listEditor.setValue(value); } @Inject  ColumnListEditor(final SyncBeanManager beanManager,
                            final DataColumnDefDriver dataColumnDefDriver,
                            final Event<ColumnsChangedEvent> columnsChangedEvent,
                            final View view); @PostConstruct void init(); @Override Widget asWidget(); @Override void setAcceptableValues(final List<DataColumnDef> acceptableValues); @Override void onValueRestricted(final String value); @Override void onValueUnRestricted(final String value); @Override void setProviderType(final DataSetProviderType type); void clear(); @Override DataColumnDefEditor createEditorForTraversal(); @Override String getPathElement(final DataColumnDefEditor subEditor); @Override void setEditorChain(final EditorChain<DataColumnDef, DataColumnDefEditor> chain); @Override void setDelegate(final EditorDelegate<List<DataColumnDef>> delegate); @Override void showErrors(final List<EditorError> errors); @Override void flush(); @Override void onPropertyChange(final String... paths); @Override void setValue(final List<DataColumnDef> value); }
ColumnListEditor implements IsWidget, org.dashbuilder.dataset.client.editor.ColumnListEditor { @Override public void setValue(final List<DataColumnDef> value) { listEditor.setValue(value); } @Inject  ColumnListEditor(final SyncBeanManager beanManager,
                            final DataColumnDefDriver dataColumnDefDriver,
                            final Event<ColumnsChangedEvent> columnsChangedEvent,
                            final View view); @PostConstruct void init(); @Override Widget asWidget(); @Override void setAcceptableValues(final List<DataColumnDef> acceptableValues); @Override void onValueRestricted(final String value); @Override void onValueUnRestricted(final String value); @Override void setProviderType(final DataSetProviderType type); void clear(); @Override DataColumnDefEditor createEditorForTraversal(); @Override String getPathElement(final DataColumnDefEditor subEditor); @Override void setEditorChain(final EditorChain<DataColumnDef, DataColumnDefEditor> chain); @Override void setDelegate(final EditorDelegate<List<DataColumnDef>> delegate); @Override void showErrors(final List<EditorError> errors); @Override void flush(); @Override void onPropertyChange(final String... paths); @Override void setValue(final List<DataColumnDef> value); public View view; }