SQLDataSetDefAttributesEditor implements IsWidget, org.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor { @Override public DropDownEditor dataSource() { return dataSource; } @Inject  SQLDataSetDefAttributesEditor(final DropDownEditor dataSource,
                                         final ValueBoxEditor<String> dbSchema,
                                         final ValueBoxEditor<String> dbTable,
                                         final ValueBoxEditor<String> dbSQL,
                                         final Caller<SQLProviderServices> sqlProviderServices,
                                         final View view); @PostConstruct void init(); @Override Widget asWidget(); @Override DropDownEditor dataSource(); @Override ValueBoxEditor<String> dbSchema(); @Override ValueBoxEditor<String> dbTable(); @Override ValueBoxEditor<String> dbSQL(); @Override void flush(); @Override void onPropertyChange(final String... paths); @Override void setValue(final SQLDataSetDef value); @Override void setDelegate(final EditorDelegate<SQLDataSetDef> delegate); boolean isUsingQuery(); public View view; }
@Test public void testDataSource() { assertEquals(dataSource, presenter.dataSource()); }