@Test public void testOnValueRestricted() { final String v = "value"; presenter.onValueRestricted(v); verify(columnListEditor, times(1)).onValueRestricted(v); verify(columnListEditor, times(0)).onValueUnRestricted(anyString()); verify(columnListEditor, times(0)).setAcceptableValues(any(List.class)); verify(columnListEditor, times(0)).setProviderType(any(DataSetProviderType.class)); }
@Override public void onValueRestricted(final String value) { columnListEditor.onValueRestricted(value); }
DataSetDefColumnsEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefColumnsEditor { @Override public void onValueRestricted(final String value) { columnListEditor.onValueRestricted(value); } }
DataSetDefColumnsEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefColumnsEditor { @Override public void onValueRestricted(final String value) { columnListEditor.onValueRestricted(value); } @Inject  DataSetDefColumnsEditor(final ColumnListEditor columnListEditor); }
DataSetDefColumnsEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefColumnsEditor { @Override public void onValueRestricted(final String value) { columnListEditor.onValueRestricted(value); } @Inject  DataSetDefColumnsEditor(final ColumnListEditor columnListEditor); @Override Widget asWidget(); @Override ColumnListEditor columns(); @Override void setAcceptableValues(final List<DataColumnDef> acceptableValues); @Override void flush(); @Override void onPropertyChange(final String... paths); @Override void setValue(final DataSetDef value); @Override void setDelegate(final EditorDelegate<DataSetDef> delegate); @Override void onValueRestricted(final String value); @Override void onValueUnRestricted(final String value); }
DataSetDefColumnsEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefColumnsEditor { @Override public void onValueRestricted(final String value) { columnListEditor.onValueRestricted(value); } @Inject  DataSetDefColumnsEditor(final ColumnListEditor columnListEditor); @Override Widget asWidget(); @Override ColumnListEditor columns(); @Override void setAcceptableValues(final List<DataColumnDef> acceptableValues); @Override void flush(); @Override void onPropertyChange(final String... paths); @Override void setValue(final DataSetDef value); @Override void setDelegate(final EditorDelegate<DataSetDef> delegate); @Override void onValueRestricted(final String value); @Override void onValueUnRestricted(final String value);  }