@Test public void testSetValue() throws Exception { tested.setValue(filter1); assertEquals(filter2, tested.value); verify(view, never()).setWidget(any(IsWidget.class)); verify(dataSetFilterEditor, never()).init(any(DataSetFilter.class), any(DataSetMetadata.class)); }
@Override public void setValue(final DataSetFilter value) { this.value = value != null ? value.cloneInstance() : null; }
DataSetDefFilterEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefFilterEditor { @Override public void setValue(final DataSetFilter value) { this.value = value != null ? value.cloneInstance() : null; } }
DataSetDefFilterEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefFilterEditor { @Override public void setValue(final DataSetFilter value) { this.value = value != null ? value.cloneInstance() : null; } @Inject  DataSetDefFilterEditor(View view, DataSetFilterEditor filterEditor, final Event<FilterChangedEvent> filterChangedEvent); }
DataSetDefFilterEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefFilterEditor { @Override public void setValue(final DataSetFilter value) { this.value = value != null ? value.cloneInstance() : null; } @Inject  DataSetDefFilterEditor(View view, DataSetFilterEditor filterEditor, final Event<FilterChangedEvent> filterChangedEvent); @Override void init(DataSetMetadata metadata); @Override Widget asWidget(); @Override void flush(); @Override void onPropertyChange(final String... paths); @Override void setValue(final DataSetFilter value); @Override void setDelegate(final EditorDelegate<DataSetFilter> delegate); }
DataSetDefFilterEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefFilterEditor { @Override public void setValue(final DataSetFilter value) { this.value = value != null ? value.cloneInstance() : null; } @Inject  DataSetDefFilterEditor(View view, DataSetFilterEditor filterEditor, final Event<FilterChangedEvent> filterChangedEvent); @Override void init(DataSetMetadata metadata); @Override Widget asWidget(); @Override void flush(); @Override void onPropertyChange(final String... paths); @Override void setValue(final DataSetFilter value); @Override void setDelegate(final EditorDelegate<DataSetFilter> delegate); public View view; }