public abstract class DataSetEditor<T extends org.dashbuilder.dataset.def.DataSetDef> extends Object implements com.google.gwt.user.client.ui.IsWidget, DataSetDefEditor<T>
Data Set Editor presenter.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataSetEditor.View |
| Constructor and Description |
|---|
DataSetEditor(DataSetDefBasicAttributesEditor basicAttributesEditor,
com.google.gwt.user.client.ui.IsWidget providerAttributesEditorView,
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 |
|---|---|
protected void |
afterPreview(org.dashbuilder.dataset.DataSet dataSet,
boolean isUpdateFilter) |
com.google.gwt.user.client.ui.Widget |
asWidget()
PUBLIC EDITOR METHODS **
|
DataSetDefBackendCacheAttributesEditor |
backendCacheEditor() |
DataSetDefBasicAttributesEditor |
basicAttributesEditor() |
DataSetDefClientCacheAttributesEditor |
clientCacheEditor() |
DataSetDefColumnsFilterEditor |
columnsAndFilterEditor() |
protected void |
doPreview(boolean isUpdateFilter)
PRIVATE EDITOR METHODS **
|
void |
flush() |
void |
init() |
void |
onPropertyChange(String... paths) |
DataSetDefRefreshAttributesEditor |
refreshEditor() |
void |
setAcceptableValues(List<org.dashbuilder.dataset.def.DataColumnDef> acceptableValues)
GWT EDITOR CONTRACT METHODS **
|
void |
setDelegate(com.google.gwt.editor.client.EditorDelegate<T> delegate) |
void |
setValue(T value) |
void |
showAdvancedTab() |
void |
showConfigurationTab() |
protected void |
showError(ClientRuntimeError error) |
void |
showPreviewTab() |
public static final String TAB_CONFIGURATION
public static final String TAB_PREVIEW
public static final String TAB_ADVANCED
protected DataSetDefBasicAttributesEditor basicAttributesEditor
protected com.google.gwt.user.client.ui.IsWidget providerAttributesEditorView
protected DataSetDefColumnsFilterEditor columnsAndFilterEditor
protected DataSetDefPreviewTable previewTable
protected DataSetDefBackendCacheAttributesEditor backendCacheAttributesEditor
protected DataSetDefClientCacheAttributesEditor clientCacheAttributesEditor
protected DataSetClientServices clientServices
protected LoadingBox loadingBox
protected javax.enterprise.event.Event<ErrorEvent> errorEvent
protected javax.enterprise.event.Event<TabChangedEvent> tabChangedEvent
public DataSetEditor.View view
protected org.dashbuilder.dataset.def.DataSetDef dataSetDef
protected Command afterPreviewCommand
protected final Command configurationTabItemClickHandler
protected final Command previewTabItemClickHandler
protected final Command advancedTabItemClickHandler
@Inject public DataSetEditor(DataSetDefBasicAttributesEditor basicAttributesEditor, com.google.gwt.user.client.ui.IsWidget providerAttributesEditorView, 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)
public void init()
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget in interface com.google.gwt.user.client.ui.IsWidgetpublic void showConfigurationTab()
public void showPreviewTab()
public void showAdvancedTab()
public void setAcceptableValues(List<org.dashbuilder.dataset.def.DataColumnDef> acceptableValues)
setAcceptableValues in interface HasConstrainedValue<List<org.dashbuilder.dataset.def.DataColumnDef>>public void flush()
flush in interface com.google.gwt.editor.client.ValueAwareEditor<T extends org.dashbuilder.dataset.def.DataSetDef>public void onPropertyChange(String... paths)
onPropertyChange in interface com.google.gwt.editor.client.ValueAwareEditor<T extends org.dashbuilder.dataset.def.DataSetDef>public void setValue(T value)
setValue in interface com.google.gwt.editor.client.ValueAwareEditor<T extends org.dashbuilder.dataset.def.DataSetDef>public void setDelegate(com.google.gwt.editor.client.EditorDelegate<T> delegate)
setDelegate in interface com.google.gwt.editor.client.HasEditorDelegate<T extends org.dashbuilder.dataset.def.DataSetDef>public DataSetDefBasicAttributesEditor basicAttributesEditor()
basicAttributesEditor in interface DataSetDefEditor<T extends org.dashbuilder.dataset.def.DataSetDef>public DataSetDefColumnsFilterEditor columnsAndFilterEditor()
columnsAndFilterEditor in interface DataSetDefEditor<T extends org.dashbuilder.dataset.def.DataSetDef>public DataSetDefBackendCacheAttributesEditor backendCacheEditor()
backendCacheEditor in interface DataSetDefEditor<T extends org.dashbuilder.dataset.def.DataSetDef>public DataSetDefClientCacheAttributesEditor clientCacheEditor()
clientCacheEditor in interface DataSetDefEditor<T extends org.dashbuilder.dataset.def.DataSetDef>public DataSetDefRefreshAttributesEditor refreshEditor()
refreshEditor in interface DataSetDefEditor<T extends org.dashbuilder.dataset.def.DataSetDef>protected void doPreview(boolean isUpdateFilter)
protected void afterPreview(org.dashbuilder.dataset.DataSet dataSet,
boolean isUpdateFilter)
protected void showError(ClientRuntimeError error)
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.