Class SQLDataSetDefAttributesEditor
- java.lang.Object
-
- org.dashbuilder.client.widgets.dataset.editor.sql.SQLDataSetDefAttributesEditor
-
- All Implemented Interfaces:
com.google.gwt.editor.client.Editor<org.dashbuilder.dataset.def.SQLDataSetDef>,com.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.SQLDataSetDef>,com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.SQLDataSetDef>,com.google.gwt.user.client.ui.IsWidget,org.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor
@Dependent public class SQLDataSetDefAttributesEditor extends Object implements com.google.gwt.user.client.ui.IsWidget, org.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor
SQL Data Set specific attributes editor presenter.
- Since:
- 0.4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSQLDataSetDefAttributesEditor.View
-
Field Summary
Fields Modifier and Type Field Description SQLDataSetDefAttributesEditor.Viewview
-
Constructor Summary
Constructors Constructor Description SQLDataSetDefAttributesEditor(org.dashbuilder.common.client.editor.list.DropDownEditor dataSource, org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbSchema, org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbTable, org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbSQL, org.jboss.errai.common.client.api.Caller<org.dashbuilder.dataset.service.SQLProviderServices> sqlProviderServices, SQLDataSetDefAttributesEditor.View view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gwt.user.client.ui.WidgetasWidget()GWT EDITOR CONTRACT METHODS **org.dashbuilder.common.client.editor.list.DropDownEditordataSource()org.dashbuilder.common.client.editor.ValueBoxEditor<String>dbSchema()org.dashbuilder.common.client.editor.ValueBoxEditor<String>dbSQL()org.dashbuilder.common.client.editor.ValueBoxEditor<String>dbTable()voidflush()voidinit()booleanisUsingQuery()voidonPropertyChange(String... paths)voidsetDelegate(com.google.gwt.editor.client.EditorDelegate<org.dashbuilder.dataset.def.SQLDataSetDef> delegate)voidsetValue(org.dashbuilder.dataset.def.SQLDataSetDef value)
-
-
-
Field Detail
-
view
public SQLDataSetDefAttributesEditor.View view
-
-
Constructor Detail
-
SQLDataSetDefAttributesEditor
@Inject public SQLDataSetDefAttributesEditor(org.dashbuilder.common.client.editor.list.DropDownEditor dataSource, org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbSchema, org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbTable, org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbSQL, org.jboss.errai.common.client.api.Caller<org.dashbuilder.dataset.service.SQLProviderServices> sqlProviderServices, SQLDataSetDefAttributesEditor.View view)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
asWidget
public com.google.gwt.user.client.ui.Widget asWidget()
GWT EDITOR CONTRACT METHODS **- Specified by:
asWidgetin interfacecom.google.gwt.user.client.ui.IsWidget
-
dataSource
public org.dashbuilder.common.client.editor.list.DropDownEditor dataSource()
- Specified by:
dataSourcein interfaceorg.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor
-
dbSchema
public org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbSchema()
- Specified by:
dbSchemain interfaceorg.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor
-
dbTable
public org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbTable()
- Specified by:
dbTablein interfaceorg.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor
-
dbSQL
public org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbSQL()
- Specified by:
dbSQLin interfaceorg.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor
-
flush
public void flush()
- Specified by:
flushin interfacecom.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.SQLDataSetDef>
-
onPropertyChange
public void onPropertyChange(String... paths)
- Specified by:
onPropertyChangein interfacecom.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.SQLDataSetDef>
-
setValue
public void setValue(org.dashbuilder.dataset.def.SQLDataSetDef value)
- Specified by:
setValuein interfacecom.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.SQLDataSetDef>
-
setDelegate
public void setDelegate(com.google.gwt.editor.client.EditorDelegate<org.dashbuilder.dataset.def.SQLDataSetDef> delegate)
- Specified by:
setDelegatein interfacecom.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.SQLDataSetDef>
-
isUsingQuery
public boolean isUsingQuery()
- Specified by:
isUsingQueryin interfaceorg.dashbuilder.dataset.client.editor.SQLDataSetDefAttributesEditor
-
-