public abstract class BaseFileStepDialog<T extends BaseFileInputMeta<?,?,?>> extends BaseStepDialog implements StepDialogInterface
Modifier and Type | Class and Description |
---|---|
static class |
BaseFileStepDialog.FD
Class for apply layout settings to SWT controls.
|
BaseStepDialog.FieldsChoiceDialogProvider
Modifier and Type | Field and Description |
---|---|
protected T |
input |
protected org.eclipse.swt.events.ModifyListener |
lsMod |
protected Class<?> |
PKG |
backupChanged, baseStepMeta, BUTTON_ALIGNMENT_CENTER, BUTTON_ALIGNMENT_LEFT, BUTTON_ALIGNMENT_RIGHT, buttonAlignment, changed, databaseDialog, fdCancel, fdCreate, fdGet, fdlStepname, fdOK, fdPreview, fdSQL, fdStepname, log, loggingObject, lsCancel, lsCreate, lsDef, lsGet, lsOK, lsPreview, lsResize, lsSQL, metaStore, props, repository, shell, stepMeta, stepname, transMeta, variables, wCancel, wCreate, wGet, wlStepname, wOK, wPreview, wSQL, wStepname
Constructor and Description |
---|
BaseFileStepDialog(org.eclipse.swt.widgets.Shell parent,
T in,
TransMeta transMeta,
String sname) |
Modifier and Type | Method and Description |
---|---|
protected void |
cancel() |
protected abstract void |
createUI() |
protected abstract void |
getData(T meta)
Read the data from the meta object and show it in this dialog.
|
protected abstract void |
getInfo(T meta,
boolean preview)
Fill meta object from UI options.
|
protected void |
ok() |
String |
open() |
addConnectionLine, addConnectionLine, addConnectionLine, addConnectionLine, addDatabases, addDatabases, centerButtons, createHelpButton, dispose, generateFieldMapping, getButtonAlignment, getDatabaseDialog, getFieldsFromPrevious, getFieldsFromPrevious, getFieldsFromPrevious, getFieldsFromPrevious, getFieldsFromPrevious, getMetaStore, getModifyListenerTooltipText, getPathOf, getRepository, isBasic, isDebug, isDetailed, isRowLevel, leftAlignButtons, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, positionBottomButtons, positionBottomButtons, positionBottomRightButtons, rightAlignButtons, selectDatabase, setButtonPositions, setMetaStore, setMinimalShellHeight, setRepository, setShellImage, setSize, setSize, setSize, setSize, setTraverseOrder, storeScreenSize, toString
checkSubclass, getParent, getStyle, getText, setText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setMetaStore, setRepository
protected final Class<?> PKG
protected T extends BaseFileInputMeta<?,?,?> input
protected org.eclipse.swt.events.ModifyListener lsMod
public String open()
open
in interface StepDialogInterface
protected void cancel()
protected void ok()
protected abstract void createUI()
protected abstract void getData(T meta)
meta
- The meta object to obtain the data from.protected abstract void getInfo(T meta, boolean preview)
meta
- meta objectpreview
- flag for preview or real options should be used. Currently, only one option is differ for preview - EOL
chars. It uses as "mixed" for be able to preview any file.Copyright © 2019 Hitachi Vantara. All rights reserved.