@Dependent public class SQLDataSetEditor extends DataSetEditor<org.dashbuilder.dataset.def.SQLDataSetDef> implements SQLDataSetDefEditor
SQL Data Set editor presenter.
DataSetEditor.View
advancedTabItemClickHandler, afterPreviewCommand, backendCacheAttributesEditor, basicAttributesEditor, clientCacheAttributesEditor, clientServices, columnsAndFilterEditor, configurationTabItemClickHandler, dataSetDef, errorEvent, loadingBox, previewTabItemClickHandler, previewTable, providerAttributesEditorView, TAB_ADVANCED, TAB_CONFIGURATION, TAB_PREVIEW, tabChangedEvent, view
Constructor and Description |
---|
SQLDataSetEditor(DataSetDefBasicAttributesEditor basicAttributesEditor,
SQLDataSetDefAttributesEditor attributesEditor,
DataSetDefColumnsFilterEditor columnsAndFilterEditor,
DataSetDefPreviewTable previewTable,
DataSetDefBackendCacheAttributesEditor backendCacheAttributesEditor,
DataSetDefClientCacheAttributesEditor clientCacheAttributesEditor,
DataSetDefRefreshAttributesEditor refreshEditor,
DataSetClientServices clientServices,
LoadingBox loadingBox,
javax.enterprise.event.Event<ErrorEvent> errorEvent,
javax.enterprise.event.Event<TabChangedEvent> tabChangedEvent,
DataSetEditor.View view) |
Modifier and Type | Method and Description |
---|---|
DropDownEditor |
dataSource()
GWT EDITOR CONTRACT METHODS **
|
ValueBoxEditor<String> |
dbSchema() |
ValueBoxEditor<String> |
dbSQL() |
ValueBoxEditor<String> |
dbTable() |
SQLDataSetDefAttributesEditor |
getAttributesEditor() |
void |
init() |
boolean |
isUsingQuery() |
void |
setValue(org.dashbuilder.dataset.def.SQLDataSetDef value) |
afterPreview, asWidget, backendCacheEditor, basicAttributesEditor, clientCacheEditor, columnsAndFilterEditor, doPreview, flush, onPropertyChange, refreshEditor, setAcceptableValues, setDelegate, showAdvancedTab, showConfigurationTab, showError, showPreviewTab
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
backendCacheEditor, basicAttributesEditor, clientCacheEditor, columnsAndFilterEditor, refreshEditor
flush, onPropertyChange
setAcceptableValues
@Inject public SQLDataSetEditor(DataSetDefBasicAttributesEditor basicAttributesEditor, SQLDataSetDefAttributesEditor attributesEditor, DataSetDefColumnsFilterEditor columnsAndFilterEditor, DataSetDefPreviewTable previewTable, DataSetDefBackendCacheAttributesEditor backendCacheAttributesEditor, DataSetDefClientCacheAttributesEditor clientCacheAttributesEditor, DataSetDefRefreshAttributesEditor refreshEditor, DataSetClientServices clientServices, LoadingBox loadingBox, javax.enterprise.event.Event<ErrorEvent> errorEvent, javax.enterprise.event.Event<TabChangedEvent> tabChangedEvent, DataSetEditor.View view)
@PostConstruct public void init()
init
in class DataSetEditor<org.dashbuilder.dataset.def.SQLDataSetDef>
public SQLDataSetDefAttributesEditor getAttributesEditor()
public DropDownEditor dataSource()
dataSource
in interface SQLDataSetDefEditor
public ValueBoxEditor<String> dbSchema()
dbSchema
in interface SQLDataSetDefEditor
public ValueBoxEditor<String> dbTable()
dbTable
in interface SQLDataSetDefEditor
public ValueBoxEditor<String> dbSQL()
dbSQL
in interface SQLDataSetDefEditor
public boolean isUsingQuery()
isUsingQuery
in interface SQLDataSetDefEditor
public void setValue(org.dashbuilder.dataset.def.SQLDataSetDef value)
setValue
in interface com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.SQLDataSetDef>
setValue
in class DataSetEditor<org.dashbuilder.dataset.def.SQLDataSetDef>
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.