Class SQLDataSetEditor
- java.lang.Object
-
- org.dashbuilder.client.widgets.dataset.editor.DataSetEditor<org.dashbuilder.dataset.def.SQLDataSetDef>
-
- org.dashbuilder.client.widgets.dataset.editor.sql.SQLDataSetEditor
-
- 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.common.client.editor.HasConstrainedValue<List<org.dashbuilder.dataset.def.DataColumnDef>>,org.dashbuilder.dataset.client.editor.DataSetDefEditor<org.dashbuilder.dataset.def.SQLDataSetDef>,org.dashbuilder.dataset.client.editor.SQLDataSetDefEditor
@Dependent public class SQLDataSetEditor extends DataSetEditor<org.dashbuilder.dataset.def.SQLDataSetDef> implements org.dashbuilder.dataset.client.editor.SQLDataSetDefEditor
SQL Data Set editor presenter.
- Since:
- 0.4.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.dashbuilder.client.widgets.dataset.editor.DataSetEditor
DataSetEditor.View
-
-
Field Summary
-
Fields inherited from class org.dashbuilder.client.widgets.dataset.editor.DataSetEditor
advancedTabItemClickHandler, afterPreviewCommand, backendCacheAttributesEditor, basicAttributesEditor, clientCacheAttributesEditor, clientServices, columnsAndFilterEditor, configurationTabItemClickHandler, dataSetDef, errorEvent, loadingBox, previewTabItemClickHandler, previewTable, providerAttributesEditorView, TAB_ADVANCED, TAB_CONFIGURATION, TAB_PREVIEW, tabChangedEvent, view
-
-
Constructor Summary
Constructors Constructor Description SQLDataSetEditor(DataSetDefBasicAttributesEditor basicAttributesEditor, SQLDataSetDefAttributesEditor attributesEditor, DataSetDefColumnsFilterEditor columnsAndFilterEditor, DataSetDefPreviewTable previewTable, DataSetDefBackendCacheAttributesEditor backendCacheAttributesEditor, DataSetDefClientCacheAttributesEditor clientCacheAttributesEditor, DataSetDefRefreshAttributesEditor refreshEditor, org.dashbuilder.dataset.client.DataSetClientServices clientServices, LoadingBox loadingBox, javax.enterprise.event.Event<ErrorEvent> errorEvent, javax.enterprise.event.Event<TabChangedEvent> tabChangedEvent, DataSetEditor.View view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.dashbuilder.common.client.editor.list.DropDownEditordataSource()GWT EDITOR CONTRACT METHODS **org.dashbuilder.common.client.editor.ValueBoxEditor<String>dbSchema()org.dashbuilder.common.client.editor.ValueBoxEditor<String>dbSQL()org.dashbuilder.common.client.editor.ValueBoxEditor<String>dbTable()SQLDataSetDefAttributesEditorgetAttributesEditor()voidinit()booleanisUsingQuery()voidsetValue(org.dashbuilder.dataset.def.SQLDataSetDef value)-
Methods inherited from class org.dashbuilder.client.widgets.dataset.editor.DataSetEditor
afterPreview, asWidget, backendCacheEditor, basicAttributesEditor, clientCacheEditor, columnsAndFilterEditor, doPreview, flush, onPropertyChange, refreshEditor, setAcceptableValues, setDelegate, showAdvancedTab, showConfigurationTab, showError, showPreviewTab
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dashbuilder.dataset.client.editor.DataSetDefEditor
backendCacheEditor, basicAttributesEditor, clientCacheEditor, columnsAndFilterEditor, refreshEditor
-
-
-
-
Constructor Detail
-
SQLDataSetEditor
@Inject public SQLDataSetEditor(DataSetDefBasicAttributesEditor basicAttributesEditor, SQLDataSetDefAttributesEditor attributesEditor, DataSetDefColumnsFilterEditor columnsAndFilterEditor, DataSetDefPreviewTable previewTable, DataSetDefBackendCacheAttributesEditor backendCacheAttributesEditor, DataSetDefClientCacheAttributesEditor clientCacheAttributesEditor, DataSetDefRefreshAttributesEditor refreshEditor, org.dashbuilder.dataset.client.DataSetClientServices clientServices, LoadingBox loadingBox, javax.enterprise.event.Event<ErrorEvent> errorEvent, javax.enterprise.event.Event<TabChangedEvent> tabChangedEvent, DataSetEditor.View view)
-
-
Method Detail
-
init
@PostConstruct public void init()
- Overrides:
initin classDataSetEditor<org.dashbuilder.dataset.def.SQLDataSetDef>
-
getAttributesEditor
public SQLDataSetDefAttributesEditor getAttributesEditor()
-
dataSource
public org.dashbuilder.common.client.editor.list.DropDownEditor dataSource()
GWT EDITOR CONTRACT METHODS **- Specified by:
dataSourcein interfaceorg.dashbuilder.dataset.client.editor.SQLDataSetDefEditor
-
dbSchema
public org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbSchema()
- Specified by:
dbSchemain interfaceorg.dashbuilder.dataset.client.editor.SQLDataSetDefEditor
-
dbTable
public org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbTable()
- Specified by:
dbTablein interfaceorg.dashbuilder.dataset.client.editor.SQLDataSetDefEditor
-
dbSQL
public org.dashbuilder.common.client.editor.ValueBoxEditor<String> dbSQL()
- Specified by:
dbSQLin interfaceorg.dashbuilder.dataset.client.editor.SQLDataSetDefEditor
-
isUsingQuery
public boolean isUsingQuery()
- Specified by:
isUsingQueryin interfaceorg.dashbuilder.dataset.client.editor.SQLDataSetDefEditor
-
setValue
public void setValue(org.dashbuilder.dataset.def.SQLDataSetDef value)
- Specified by:
setValuein interfacecom.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.SQLDataSetDef>- Overrides:
setValuein classDataSetEditor<org.dashbuilder.dataset.def.SQLDataSetDef>
-
-