@Dependent public class SQLDataSetDefAttributesEditor extends Object implements com.google.gwt.user.client.ui.IsWidget, SQLDataSetDefAttributesEditor
SQL Data Set specific attributes editor presenter.
Modifier and Type | Class and Description |
---|---|
static interface |
SQLDataSetDefAttributesEditor.View |
Modifier and Type | Field and Description |
---|---|
SQLDataSetDefAttributesEditor.View |
view |
Constructor and Description |
---|
SQLDataSetDefAttributesEditor(DropDownEditor dataSource,
ValueBoxEditor<String> dbSchema,
ValueBoxEditor<String> dbTable,
ValueBoxEditor<String> dbSQL,
org.jboss.errai.common.client.api.Caller<SQLProviderServices> sqlProviderServices,
SQLDataSetDefAttributesEditor.View view) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.user.client.ui.Widget |
asWidget()
GWT EDITOR CONTRACT METHODS **
|
DropDownEditor |
dataSource() |
ValueBoxEditor<String> |
dbSchema() |
ValueBoxEditor<String> |
dbSQL() |
ValueBoxEditor<String> |
dbTable() |
void |
flush() |
void |
init() |
boolean |
isUsingQuery() |
void |
onPropertyChange(String... paths) |
void |
setDelegate(com.google.gwt.editor.client.EditorDelegate<org.dashbuilder.dataset.def.SQLDataSetDef> delegate) |
void |
setValue(org.dashbuilder.dataset.def.SQLDataSetDef value) |
public SQLDataSetDefAttributesEditor.View view
@Inject public SQLDataSetDefAttributesEditor(DropDownEditor dataSource, ValueBoxEditor<String> dbSchema, ValueBoxEditor<String> dbTable, ValueBoxEditor<String> dbSQL, org.jboss.errai.common.client.api.Caller<SQLProviderServices> sqlProviderServices, SQLDataSetDefAttributesEditor.View view)
@PostConstruct public void init()
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
public DropDownEditor dataSource()
dataSource
in interface SQLDataSetDefAttributesEditor
public ValueBoxEditor<String> dbSchema()
dbSchema
in interface SQLDataSetDefAttributesEditor
public ValueBoxEditor<String> dbTable()
dbTable
in interface SQLDataSetDefAttributesEditor
public ValueBoxEditor<String> dbSQL()
dbSQL
in interface SQLDataSetDefAttributesEditor
public void flush()
flush
in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.SQLDataSetDef>
public void onPropertyChange(String... paths)
onPropertyChange
in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.SQLDataSetDef>
public void setValue(org.dashbuilder.dataset.def.SQLDataSetDef value)
setValue
in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.SQLDataSetDef>
public void setDelegate(com.google.gwt.editor.client.EditorDelegate<org.dashbuilder.dataset.def.SQLDataSetDef> delegate)
setDelegate
in interface com.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.SQLDataSetDef>
public boolean isUsingQuery()
isUsingQuery
in interface SQLDataSetDefAttributesEditor
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.