Class CSVDataSetEditor
- java.lang.Object
-
- org.dashbuilder.client.widgets.dataset.editor.DataSetEditor<org.dashbuilder.dataset.def.CSVDataSetDef>
-
- org.dashbuilder.client.widgets.dataset.editor.csv.CSVDataSetEditor
-
- All Implemented Interfaces:
com.google.gwt.editor.client.Editor<org.dashbuilder.dataset.def.CSVDataSetDef>,com.google.gwt.editor.client.HasEditorDelegate<org.dashbuilder.dataset.def.CSVDataSetDef>,com.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.CSVDataSetDef>,com.google.gwt.user.client.ui.IsWidget,org.dashbuilder.common.client.editor.HasConstrainedValue<List<org.dashbuilder.dataset.def.DataColumnDef>>,org.dashbuilder.dataset.client.editor.CSVDataSetDefEditor,org.dashbuilder.dataset.client.editor.DataSetDefEditor<org.dashbuilder.dataset.def.CSVDataSetDef>
@Dependent public class CSVDataSetEditor extends DataSetEditor<org.dashbuilder.dataset.def.CSVDataSetDef> implements org.dashbuilder.dataset.client.editor.CSVDataSetDefEditor
CSV 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 CSVDataSetEditor(DataSetDefBasicAttributesEditor basicAttributesEditor, CSVDataSetDefAttributesEditor 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.ValueBoxEditor<String>datePattern()org.dashbuilder.common.client.editor.ValueBoxEditor<Character>escapeChar()org.dashbuilder.common.client.editor.file.FileUploadEditorfilePath()org.dashbuilder.common.client.editor.ValueBoxEditor<String>fileURL()GWT EDITOR CONTRACT METHODS **voidinit()booleanisUsingFilePath()org.dashbuilder.common.client.editor.ValueBoxEditor<String>numberPattern()org.dashbuilder.common.client.editor.ValueBoxEditor<Character>quoteChar()org.dashbuilder.common.client.editor.ValueBoxEditor<Character>separatorChar()voidsetValue(org.dashbuilder.dataset.def.CSVDataSetDef 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
-
CSVDataSetEditor
@Inject public CSVDataSetEditor(DataSetDefBasicAttributesEditor basicAttributesEditor, CSVDataSetDefAttributesEditor 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.CSVDataSetDef>
-
fileURL
public org.dashbuilder.common.client.editor.ValueBoxEditor<String> fileURL()
GWT EDITOR CONTRACT METHODS **- Specified by:
fileURLin interfaceorg.dashbuilder.dataset.client.editor.CSVDataSetDefEditor
-
filePath
public org.dashbuilder.common.client.editor.file.FileUploadEditor filePath()
- Specified by:
filePathin interfaceorg.dashbuilder.dataset.client.editor.CSVDataSetDefEditor
-
separatorChar
public org.dashbuilder.common.client.editor.ValueBoxEditor<Character> separatorChar()
- Specified by:
separatorCharin interfaceorg.dashbuilder.dataset.client.editor.CSVDataSetDefEditor
-
quoteChar
public org.dashbuilder.common.client.editor.ValueBoxEditor<Character> quoteChar()
- Specified by:
quoteCharin interfaceorg.dashbuilder.dataset.client.editor.CSVDataSetDefEditor
-
escapeChar
public org.dashbuilder.common.client.editor.ValueBoxEditor<Character> escapeChar()
- Specified by:
escapeCharin interfaceorg.dashbuilder.dataset.client.editor.CSVDataSetDefEditor
-
datePattern
public org.dashbuilder.common.client.editor.ValueBoxEditor<String> datePattern()
- Specified by:
datePatternin interfaceorg.dashbuilder.dataset.client.editor.CSVDataSetDefEditor
-
numberPattern
public org.dashbuilder.common.client.editor.ValueBoxEditor<String> numberPattern()
- Specified by:
numberPatternin interfaceorg.dashbuilder.dataset.client.editor.CSVDataSetDefEditor
-
isUsingFilePath
public boolean isUsingFilePath()
- Specified by:
isUsingFilePathin interfaceorg.dashbuilder.dataset.client.editor.CSVDataSetDefEditor
-
setValue
public void setValue(org.dashbuilder.dataset.def.CSVDataSetDef value)
- Specified by:
setValuein interfacecom.google.gwt.editor.client.ValueAwareEditor<org.dashbuilder.dataset.def.CSVDataSetDef>- Overrides:
setValuein classDataSetEditor<org.dashbuilder.dataset.def.CSVDataSetDef>
-
-